Remove body copy in WorkerMainScriptLoader::Start()
This CL changes WorkerMainScriptLoader to have ResourceRequestHead rather than ResourceRequest so that we can avoid body copy. With this CL, we remove all ResourceRequest body copy. This CL also changes the function parameter to const ref. Bug: 787704 Change-Id: I0f57cfd89b2f804e0c6f8eb167798591f1e5f0c1 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2631399Reviewed-by:Yutaka Hirano <yhirano@chromium.org> Commit-Queue: Yoichi Osato <yoichio@chromium.org> Cr-Commit-Position: refs/heads/master@{#845085}
Showing
Please register or sign in to comment