| Index: third_party/WebKit/Source/web/tests/ChromeClientImplTest.cpp
|
| diff --git a/third_party/WebKit/Source/web/tests/ChromeClientImplTest.cpp b/third_party/WebKit/Source/web/tests/ChromeClientImplTest.cpp
|
| index 50f0f3ec9c08e1bd2aeae11ca0d5a9341ca1fbd2..183cf872178873643a847f96eea8451bde9b721f 100644
|
| --- a/third_party/WebKit/Source/web/tests/ChromeClientImplTest.cpp
|
| +++ b/third_party/WebKit/Source/web/tests/ChromeClientImplTest.cpp
|
| @@ -71,8 +71,8 @@ class GetNavigationPolicyTest : public testing::Test {
|
| void SetUp() override {
|
| m_webView = toWebViewImpl(
|
| WebView::create(&m_webViewClient, WebPageVisibilityStateVisible));
|
| - m_webView->setMainFrame(
|
| - WebLocalFrame::create(WebTreeScopeType::Document, &m_webFrameClient));
|
| + m_webView->setMainFrame(WebLocalFrame::create(
|
| + WebTreeScopeType::Document, &m_webFrameClient, nullptr, nullptr));
|
| m_chromeClientImpl = toChromeClientImpl(&m_webView->page()->chromeClient());
|
| m_result = WebNavigationPolicyIgnore;
|
| }
|
| @@ -252,8 +252,8 @@ class CreateWindowTest : public testing::Test {
|
| void SetUp() override {
|
| m_webView = toWebViewImpl(
|
| WebView::create(&m_webViewClient, WebPageVisibilityStateVisible));
|
| - m_mainFrame =
|
| - WebLocalFrame::create(WebTreeScopeType::Document, &m_webFrameClient);
|
| + m_mainFrame = WebLocalFrame::create(WebTreeScopeType::Document,
|
| + &m_webFrameClient, nullptr, nullptr);
|
| m_webView->setMainFrame(m_mainFrame);
|
| m_chromeClientImpl = toChromeClientImpl(&m_webView->page()->chromeClient());
|
| }
|
|
|