Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(248)

Issue 2625823003: Reset ResourceLoader::m_loader in the pre-finalizer (Closed)

Created:
3 years, 11 months ago by yhirano
Modified:
3 years, 11 months ago
CC:
chromium-reviews, blink-reviews, loading-reviews+fetch_chromium.org, tyoshino+watch_chromium.org, Nate Chapin, gavinp+loader_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Reset ResourceLoader::m_loader in the pre-finalizer A ResourceLoader is held as a raw-ptr in WebURLLoaderImpl and hence it must cancel the WebURLLoaderImpl when it's destroyed. We thought blink::Resource::allClientsAndObserversRemoved did the job but it's wrong: the cancel timer doesn't work when the resource is about to be destroyed. BUG=675947 R=hiroshige@chromium.org, japhet@chromium.org Review-Url: https://codereview.chromium.org/2625823003 Cr-Commit-Position: refs/heads/master@{#443167} Committed: https://chromium.googlesource.com/chromium/src/+/6e6d7a20f7cb4b23ff305b16579faf94f7ddf992

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+8 lines, -3 lines) Patch
M third_party/WebKit/Source/core/fetch/ResourceLoader.h View 2 chunks +3 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/fetch/ResourceLoader.cpp View 2 chunks +5 lines, -3 lines 0 comments Download

Messages

Total messages: 14 (7 generated)
yhirano
PTAL See also: https://codereview.chromium.org/2619513002/ and https://codereview.chromium.org/2615993005/.
3 years, 11 months ago (2017-01-11 02:30:32 UTC) #3
kinuko
We're also seeing some crashes for accessing WebURLLoaderImpl::Context::client_ after it's poisoned, this likely fixes it ...
3 years, 11 months ago (2017-01-11 04:56:37 UTC) #4
yhirano
On 2017/01/11 04:56:37, kinuko wrote: > We're also seeing some crashes for accessing WebURLLoaderImpl::Context::client_ > ...
3 years, 11 months ago (2017-01-11 09:54:52 UTC) #7
hiroshige
On 2017/01/11 09:54:52, yhirano wrote: > On 2017/01/11 04:56:37, kinuko wrote: > > We're also ...
3 years, 11 months ago (2017-01-11 23:50:53 UTC) #8
yhirano
On 2017/01/11 23:50:53, hiroshige wrote: > On 2017/01/11 09:54:52, yhirano wrote: > > On 2017/01/11 ...
3 years, 11 months ago (2017-01-12 04:11:48 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2625823003/1
3 years, 11 months ago (2017-01-12 04:12:03 UTC) #11
commit-bot: I haz the power
3 years, 11 months ago (2017-01-12 06:21:04 UTC) #14
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://chromium.googlesource.com/chromium/src/+/6e6d7a20f7cb4b23ff305b16579f...

Powered by Google App Engine
This is Rietveld 408576698