diff options
author | tzik@chromium.org <tzik@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-01-28 21:19:03 +0000 |
---|---|---|
committer | tzik@chromium.org <tzik@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-01-28 21:19:03 +0000 |
commit | 540d6af4f7ac9e5dbad65fc8fec8673f7144c018 (patch) | |
tree | 0e9599c36a8f05ccca9bd7b01fcb59b036a536c4 /ppapi/proxy/file_io_resource.cc | |
parent | 8ca54e192eaadc07db4434e8ed960691dcab7395 (diff) | |
download | chromium_src-540d6af4f7ac9e5dbad65fc8fec8673f7144c018.zip chromium_src-540d6af4f7ac9e5dbad65fc8fec8673f7144c018.tar.gz chromium_src-540d6af4f7ac9e5dbad65fc8fec8673f7144c018.tar.bz2 |
[Pepper] Wire up append mode writing support of FileIO
BUG=334171
Review URL: https://codereview.chromium.org/130053003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@247504 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ppapi/proxy/file_io_resource.cc')
-rw-r--r-- | ppapi/proxy/file_io_resource.cc | 4 |
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( |