| 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 a82d04a16ae1598ae3ecf8a7bc424517bedae83c..fb21541d01ce1ac3bea1cecbc9b4066d0d1d2988 100644
|
| --- a/third_party/WebKit/Source/web/tests/ChromeClientImplTest.cpp
|
| +++ b/third_party/WebKit/Source/web/tests/ChromeClientImplTest.cpp
|
| @@ -272,7 +272,7 @@ class CreateWindowTest : public testing::Test {
|
| protected:
|
| void SetUp() override
|
| {
|
| - m_webView = toWebViewImpl(WebView::create(&m_webViewClient, WebPageVisibilityStateVisible));
|
| + m_webView = toWebViewImpl(WebView::create(&m_webViewClient));
|
| m_mainFrame = WebLocalFrame::create(WebTreeScopeType::Document, &m_webFrameClient);
|
| m_webView->setMainFrame(m_mainFrame);
|
| m_chromeClientImpl = toChromeClientImpl(&m_webView->page()->chromeClient());
|
| @@ -297,7 +297,7 @@ TEST_F(CreateWindowTest, CreateWindowFromDeferredPage)
|
| LocalFrame* frame = toWebLocalFrameImpl(m_mainFrame)->frame();
|
| FrameLoadRequest request(frame->document());
|
| WindowFeatures features;
|
| - EXPECT_EQ(nullptr, m_chromeClientImpl->createWindow(frame, request, features, NavigationPolicyNewForegroundTab));
|
| + EXPECT_EQ(nullptr, m_chromeClientImpl->createWindow(frame, request, features, NavigationPolicyNewForegroundTab, MaybeSetOpener));
|
| m_webView->page()->setDefersLoading(false);
|
| }
|
|
|
|
|