Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1258)

Unified Diff: content/browser/renderer_host/pepper/pepper_file_io_host.cc

Issue 100963005: [Pepper] Handle plugin crash on QuotaReservation (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/browser/renderer_host/pepper/pepper_file_io_host.cc
diff --git a/content/browser/renderer_host/pepper/pepper_file_io_host.cc b/content/browser/renderer_host/pepper/pepper_file_io_host.cc
index 6fe68dea6acdc533f90ae0805b4fb9079ab2033e..b9983da474c952ae7dfd9a69e9db985d04ddaa18 100644
--- a/content/browser/renderer_host/pepper/pepper_file_io_host.cc
+++ b/content/browser/renderer_host/pepper/pepper_file_io_host.cc
@@ -101,9 +101,6 @@ PepperFileIOHost::PepperFileIOHost(BrowserPpapiHostImpl* host,
}
PepperFileIOHost::~PepperFileIOHost() {
- // FileIOResource will normally send a close message, but the plugin may have
- // crashed.
- OnHostMsgClose(NULL, max_written_offset_);
}
int32_t PepperFileIOHost::OnResourceMessageReceived(

Powered by Google App Engine
This is Rietveld 408576698