diff options
author | hashimoto <hashimoto@chromium.org> | 2015-04-27 22:27:19 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-04-28 05:27:22 +0000 |
commit | 1ad9bfe4e302fd57bbffd45ec9ad248893a7b2ba (patch) | |
tree | e672df9cc214415b6abfd505e002918538da7a22 /tools | |
parent | 21999efe098e256c5b2099f450d155e6d48a4cd8 (diff) | |
download | chromium_src-1ad9bfe4e302fd57bbffd45ec9ad248893a7b2ba.zip chromium_src-1ad9bfe4e302fd57bbffd45ec9ad248893a7b2ba.tar.gz chromium_src-1ad9bfe4e302fd57bbffd45ec9ad248893a7b2ba.tar.bz2 |
Avoid copying the data string when posting ImportantFileWriter write tasks
When binding the data string to a callback, the existing code copies the data which can be 1MB+ sometimes.
Use scoped_ptr to avoid unnecessary data copy.
BUG=None
Review URL: https://codereview.chromium.org/1079943002
Cr-Commit-Position: refs/heads/master@{#327234}
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions