Upstream version 5.34.104.0
[platform/framework/web/crosswalk.git] / src / ppapi / proxy / file_io_resource.cc
index a35c9ec..7157574 100644 (file)
@@ -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(