DescriptionMake WorkerScriptLoader back to RefCounted class
This was made non-refcounted class in https://crrev.com/1190133002,
but looks like this could cause crashes in some corner cases.
To be more specific:
FrameLoaderClientImpl::dispatchDidFinishDocumentLoad() calls
WebFrameClient callback first and then WebView callback next, but
if the loader is deleted in the first callback an attempt to call the
second callback on a member variable would crash.
We could probably avoid this crash without making the loader class
ref-counted again, but for now I would like to fix the crash by simply
reverting some of the changes that're causing the crash.
BUG=524694
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=201346
Patch Set 1 #
Messages
Total messages: 10 (3 generated)
|