Index: Source/web/tests/WebFrameTest.cpp |
diff --git a/Source/web/tests/WebFrameTest.cpp b/Source/web/tests/WebFrameTest.cpp |
index 0aff89cd3852d81b7ee3cc3806ee06ecfc121a19..8ea21d43f4b2694a1f111d05ce3433cee6c1dd67 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())); |
@@ -1778,7 +1778,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"); |
@@ -1818,7 +1818,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"); |