[WebURLLoaderImpl] Reset response body synchronously on cancel
This is a reland of https://crrev.com/5432359239b23e0810aea8c78adcd37f637936f4. The original CL caused crashes due to handle reset in a two-phase read, so this CL delays the reset operation a bit. Original description: WebURLLoaderImpl is not destructed when the request is cancelled, so it's better to destruct the response body handle in WebURLLoaderImpl::Context::Cancel manually. Bug: 894819, 927184, 929793 Change-Id: Ie3822049bb796ba180ad428f97bd873cec3a17f0 Reviewed-on: https://chromium-review.googlesource.com/c/1481143 Auto-Submit: Yutaka Hirano <yhirano@chromium.org> Commit-Queue: Kinuko Yasuda <kinuko@chromium.org> Reviewed-by:Kinuko Yasuda <kinuko@chromium.org> Cr-Commit-Position: refs/heads/master@{#635433}
Showing
Please register or sign in to comment