| Index: Source/web/tests/WebViewTest.cpp
|
| diff --git a/Source/web/tests/WebViewTest.cpp b/Source/web/tests/WebViewTest.cpp
|
| index b4c496a7819f60c9d8e5e4062c102dd985d9aef5..532df4e7b6cb9792719f67ebcb9c46ba9bdf80e3 100644
|
| --- a/Source/web/tests/WebViewTest.cpp
|
| +++ b/Source/web/tests/WebViewTest.cpp
|
| @@ -1486,7 +1486,7 @@ TEST_F(WebViewTest, AddFrameInCloseURLUnload)
|
| CreateChildCounterFrameClient frameClient;
|
| URLTestHelpers::registerMockedURLFromBaseURL(WebString::fromUTF8(m_baseURL.c_str()), WebString::fromUTF8("add_frame_in_unload.html"));
|
| m_webViewHelper.initializeAndLoad(m_baseURL + "add_frame_in_unload.html", true, &frameClient);
|
| - m_webViewHelper.webViewImpl()->dispatchUnloadEvent();
|
| + m_webViewHelper.webViewImpl()->mainFrame()->dispatchUnloadEvent();
|
| EXPECT_EQ(0, frameClient.count());
|
| m_webViewHelper.reset();
|
| }
|
|
|