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 6f7b55fd34ae3e37c36218c88fb8ecf9abeb675e..1118c584c94bc98f5d1d19169e051557de369aee 100644 |
--- a/content/browser/renderer_host/pepper/pepper_file_io_host.cc |
+++ b/content/browser/renderer_host/pepper/pepper_file_io_host.cc |
@@ -405,8 +405,10 @@ int32_t PepperFileIOHost::OnHostMsgFlush( |
int32_t PepperFileIOHost::OnHostMsgClose( |
ppapi::host::HostMessageContext* context) { |
- if (check_quota_) |
+ if (check_quota_) { |
file_system_host_->CloseQuotaFile(this); |
+ check_quota_ = false; |
bbudge
2013/12/27 20:04:28
This ensures we don't do this twice.
|
+ } |
if (file_ != base::kInvalidPlatformFileValue) { |
base::FileUtilProxy::Close( |