Revert 189300
commit501e0fd8025470b2098233d2268864524ee91d34
authorkhorimoto@chromium.org <khorimoto@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Thu, 21 Mar 2013 01:11:37 +0000 (21 01:11 +0000)
committerkhorimoto@chromium.org <khorimoto@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Thu, 21 Mar 2013 01:11:37 +0000 (21 01:11 +0000)
tree9a274355a8da2f8fd465f9ffc47f66517bf400fd
parent714d4d1773c9b930fd5541b5c18f930c4c1dde9a
Revert 189300
> Use QuotaFileIO::SetLength instead of PluginDelegate::SetLength.
>
> We'd once replaced QuotaFileIO::SetLength with PluginDelegate::SetLength when seccomp sandbox blocks ftruncate call.
> And later, ftruncate is allowed by the whitelist of the sandbox.
>
> This patch replaces back to QuotaFileIO to improve its performance.
>
>
> BUG=194304
>
> Review URL: https://chromiumcodereview.appspot.com/12863003

TBR=tzik@chromium.org

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@189481 0039d316-1c4b-4281-b951-d872f2087c98
content/renderer/pepper/pepper_file_io_host.cc