[V8] Null out V8NPObject::rootObject when the owning
Frame goes away.
https://bugs.webkit.org/show_bug.cgi?id=71569

Reviewed by Adam Barth.

No new tests, this has only been successfully triggered
using ppapi flash.

* bindings/v8/V8Helpers.cpp:
(WebCore::toV8Context):
* bindings/v8/npruntime.cpp:


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@99311 268f45cc-cd09-0410-ab3c-d52691b4dbfc
3 files changed