DescriptionOilpan: avoid InjectedScriptManager::CallbackData-induced leaks.
Move CallbackData to the Oilpan heap, so as to avoid it having to
keep a Persistent<> reference to its InjectedScriptHost.
If left as a persistent, it would leave the v8 wrapper object uncollected
and prevent a clean shutdown.
R=haraken
BUG=340522
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=192684
Patch Set 1 #Patch Set 2 : non-oilpan compile fix #Patch Set 3 : non-oilpan compile fix; less blind. #Patch Set 4 : silly compile fix #
Total comments: 2
Patch Set 5 : Add explicit dispose() #
Messages
Total messages: 11 (4 generated)
|