DescriptionProtect RawResource from deletion in RawResource::didSendData() and didDownloadData()
ResourceClientWalker uses a reference to m_clients (a member of the
RawResource instance). Therefore, when w.next() is invoked, the RawResource
instance must be alive.
RawResourceClient (e.g. DocumentThreadableLoader) may destroy the RawResource
in didSendData() and didDownloadData().
Like other methods (appendData(), willFollowRedirect(), ...) these methods
should also have a protect.
BUG=527046
R=japhet,hiroshige
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=201626
Patch Set 1 #
Messages
Total messages: 15 (4 generated)
|