summaryrefslogtreecommitdiffstats
path: root/content/browser/renderer_host/pepper/pepper_file_io_host.cc
diff options
context:
space:
mode:
Diffstat (limited to 'content/browser/renderer_host/pepper/pepper_file_io_host.cc')
-rw-r--r--content/browser/renderer_host/pepper/pepper_file_io_host.cc6
1 files changed, 2 insertions, 4 deletions
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 e66219b..da802e5 100644
--- a/content/browser/renderer_host/pepper/pepper_file_io_host.cc
+++ b/content/browser/renderer_host/pepper/pepper_file_io_host.cc
@@ -334,11 +334,9 @@ int32_t PepperFileIOHost::OnHostMsgFlush(
int32_t PepperFileIOHost::OnHostMsgClose(
ppapi::host::HostMessageContext* context,
- int64_t max_written_offset) {
+ const ppapi::FileGrowth& file_growth) {
if (check_quota_) {
- file_system_host_->CloseQuotaFile(
- this,
- ppapi::FileGrowth(max_written_offset, 0));
+ file_system_host_->CloseQuotaFile(this, file_growth);
check_quota_ = false;
}