DescriptionOilpan: move ScriptController+WindowProxy to the heap.
Turn LocalFrame's ScriptController into a GCed object, letting it
correctly trace its member reference back to its owner.
Having it be heap allocated also simplifies how its LocalFrame is kept
alive across calls that invoke scripts which indirectly detaches/removes
the frame.
Transitively do the exact same for ScriptController's owned WindowProxies.
R=mkwst,haraken
BUG=340522
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=183255
Patch Set 1 #Patch Set 2 : Rebased #Patch Set 3 : Move WindowProxy over as well #Patch Set 4 : Non-Oilpan compile fix #
Total comments: 8
Patch Set 5 : Smaller fixes #
Messages
Total messages: 11 (4 generated)
|