Index: Source/web/tests/WebFrameTest.cpp |
diff --git a/Source/web/tests/WebFrameTest.cpp b/Source/web/tests/WebFrameTest.cpp |
index ca5c2fd80ac21caab25b132900d921d0673c4803..974dd358f1f096bf828c550d5c00612122a5512c 100644 |
--- a/Source/web/tests/WebFrameTest.cpp |
+++ b/Source/web/tests/WebFrameTest.cpp |
@@ -214,7 +214,7 @@ TEST_F(WebFrameTest, FrameForEnteredContext) |
m_webView = FrameTestHelpers::createWebViewAndLoad(m_baseURL + "iframes_test.html", true); |
- v8::HandleScope scope; |
+ v8::HandleScope scope(v8::Isolate::GetCurrent()); |
EXPECT_EQ(m_webView->mainFrame(), |
WebFrame::frameForContext( |
m_webView->mainFrame()->mainWorldScriptContext())); |
@@ -1773,7 +1773,7 @@ public: |
// TODO(aa): Deflake this test. |
TEST_F(WebFrameTest, FLAKY_ContextNotificationsLoadUnload) |
{ |
- v8::HandleScope handleScope; |
+ v8::HandleScope handleScope(v8::Isolate::GetCurrent()); |
registerMockedHttpURLLoad("context_notifications_test.html"); |
registerMockedHttpURLLoad("context_notifications_test_frame.html"); |
@@ -1813,7 +1813,7 @@ TEST_F(WebFrameTest, FLAKY_ContextNotificationsLoadUnload) |
TEST_F(WebFrameTest, ContextNotificationsReload) |
{ |
- v8::HandleScope handleScope; |
+ v8::HandleScope handleScope(v8::Isolate::GetCurrent()); |
registerMockedHttpURLLoad("context_notifications_test.html"); |
registerMockedHttpURLLoad("context_notifications_test_frame.html"); |