DescriptionDispose ApplicationCacheHost on DocumentLoader finalization.
To cater to Oilpan, introduce an explicit dispose() for
ApplicationCacheHost, which the DocumentLoader will call upon when
being finalized.
Without it, a DocumentLoader might clear the Persistent reference to
its ApplicationCacheHost, but it'll still be accessible to embedder
notifications via its WebApplicationCacheHost until the next Oilpan GC
strikes. If so, the callbacks might access a now-dead DocumentLoader.
R=ager
BUG=
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=181973
Patch Set 1 #
Messages
Total messages: 8 (3 generated)
|