Index: Source/web/WebTestingSupport.cpp |
diff --git a/Source/web/WebTestingSupport.cpp b/Source/web/WebTestingSupport.cpp |
index f74f9f0a1436c648c0ec4c724f07c3cd1c3e4322..e3412ccd8ab7a0aadf7b97ab5e51e6a8cf5af1ae 100644 |
--- a/Source/web/WebTestingSupport.cpp |
+++ b/Source/web/WebTestingSupport.cpp |
@@ -34,13 +34,13 @@ namespace WebKit { |
void WebTestingSupport::injectInternalsObject(WebFrame* frame) |
{ |
- v8::HandleScope handleScope; |
+ v8::HandleScope handleScope(v8::Isolate::GetCurrent()); |
WebCoreTestSupport::injectInternalsObject(frame->mainWorldScriptContext()); |
} |
void WebTestingSupport::resetInternalsObject(WebFrame* frame) |
{ |
- v8::HandleScope handleScope; |
+ v8::HandleScope handleScope(v8::Isolate::GetCurrent()); |
WebCoreTestSupport::resetInternalsObject(frame->mainWorldScriptContext()); |
} |