Stop wrapping ResourceList with std::unique_ptr
In the Service Worker Storage, |resources| is wrapped with std::unique_ptr, however this requires additional memory allocation. However, unique_ptr is not needed to move the ownership, hence it is removed and the vector |resources| is passed directly using std::move. Bug: 1055677 Change-Id: I9f3e01c8052dd7f4a3d66da6a48e402d78304ec1 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2214768 Commit-Queue: Nidhi Jaju <nidhijaju@google.com> Commit-Queue: Kenichi Ishibashi <bashi@chromium.org> Reviewed-by:Kenichi Ishibashi <bashi@chromium.org> Cr-Commit-Position: refs/heads/master@{#771667}
Showing
Please register or sign in to comment