summaryrefslogtreecommitdiffstats
path: root/ppapi/proxy/file_io_resource.cc
diff options
context:
space:
mode:
Diffstat (limited to 'ppapi/proxy/file_io_resource.cc')
-rw-r--r--ppapi/proxy/file_io_resource.cc4
1 files changed, 1 insertions, 3 deletions
diff --git a/ppapi/proxy/file_io_resource.cc b/ppapi/proxy/file_io_resource.cc
index a35c9ec..7157574 100644
--- a/ppapi/proxy/file_io_resource.cc
+++ b/ppapi/proxy/file_io_resource.cc
@@ -404,10 +404,8 @@ void FileIOResource::Close() {
if (file_handle_)
file_handle_ = NULL;
- // TODO(tzik): Post |max_written_offset_| and |append_mode_write_amount_|
- // separately by using FileGrowth after the IPC signature changed.
Post(BROWSER, PpapiHostMsg_FileIO_Close(
- max_written_offset_ + append_mode_write_amount_));
+ FileGrowth(max_written_offset_, append_mode_write_amount_)));
}
int32_t FileIOResource::RequestOSFileHandle(