Oilpan: 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

Review URL: https://codereview.chromium.org/1040703002

git-svn-id: svn://svn.chromium.org/blink/trunk@192684 bbb929c8-8fbe-4397-9dbb-9b2b20218538
3 files changed
tree: 81330fa4b0ec2f885b39d894aadf578be77946db
  1. third_party/