JavaScriptCore:
Reviewed by Oliver.
- JavaScriptCore part of fix for: <rdar://problem/5295734> Repro crash closing tab/window @ maps.google.com in WTF::HashSet<KJS::RuntimeObjectImp*, WTF::PtrHash<KJS::RuntimeObjectImp*>, WTF::HashTraits<KJS::RuntimeObjectImp*> >::add + 11
* JavaScriptCore.exp: Added needed export.
WebCore:
Reviewed by Oliver.
<rdar://problem/5295734> Repro crash closing tab/window @ maps.google.com in WTF::HashSet<KJS::RuntimeObjectImp*, WTF::PtrHash<KJS::RuntimeObjectImp*>, WTF::HashTraits<KJS::RuntimeObjectImp*> >::add + 11
Automated test case is not possible. Did not bother with manual test this time.
* bindings/js/kjs_dom.cpp:
(WebCore::getRuntimeObject): Check that runtime root isn't null, as well as instance;
this should cover the case where the plugin is already shut down and onunload time.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@24106
268f45cc-cd09-0410-ab3c-
d52691b4dbfc