2009-11-23 Adam Barth <abarth@webkit.org>
Reviewed by Dimitri Glazkov.
[V8] Don't crash when OOM in creating isolated world
https://bugs.webkit.org/show_bug.cgi?id=31805
We need to add some more null checks to avoid crashing. No new tests
because we don't have a good way to test out-of-memory bugs.
* bindings/v8/V8Proxy.cpp:
(WebCore::V8Proxy::evaluateInIsolatedWorld):
(WebCore::V8Proxy::evaluateInNewContext):
(WebCore::V8Proxy::setInjectedScriptContextDebugId):
* bindings/v8/V8Proxy.h:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@51312
268f45cc-cd09-0410-ab3c-
d52691b4dbfc