DescriptionOilpan: fix PromiseTracker's handling of its persistent promise wrappers.
The handling of the PromiseDataWrapper in r181662 wasn't complete, as it
failed to keep an Oilpan-reachable persistent to the GCed wrapper object,
risking premature finalization. For Oilpan also, this wrapper object should
only keep its references weakly alive.
To make the tracing of these relationships work out, PromiseTracker is
no longer a part object, but heap allocated.
R=haraken
BUG=340522
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=181845
Patch Set 1 #
Total comments: 4
Patch Set 2 : Tidying #Patch Set 3 : Remove redundant leakPtr() use #Patch Set 4 : Add FIXME on using DOMWrapperWorld to hold PromiseTrackerWrapper instances #
Messages
Total messages: 19 (7 generated)
|