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

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

Issue 121973003: Merge 242646 "Pepper: FileIO holds FileSystem ref with scoped_re..." (Closed) Base URL: svn://svn.chromium.org/chrome/branches/1750/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
« no previous file with comments | « no previous file | ppapi/proxy/file_io_resource.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/renderer_host/pepper/pepper_file_io_host.cc
===================================================================
--- content/browser/renderer_host/pepper/pepper_file_io_host.cc (revision 243312)
+++ content/browser/renderer_host/pepper/pepper_file_io_host.cc (working copy)
@@ -405,8 +405,10 @@
int32_t PepperFileIOHost::OnHostMsgClose(
ppapi::host::HostMessageContext* context) {
- if (check_quota_)
+ if (check_quota_) {
file_system_host_->CloseQuotaFile(this);
+ check_quota_ = false;
+ }
if (file_ != base::kInvalidPlatformFileValue) {
base::FileUtilProxy::Close(
« no previous file with comments | « no previous file | ppapi/proxy/file_io_resource.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698