Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(62)

Unified Diff: third_party/WebKit/Source/web/tests/ChromeClientImplTest.cpp

Issue 2651583007: Plumbing blink::Interface{Provider|Registry} through WebLocalFrame's constructor. (Closed)
Patch Set: Rebasing... Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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());
}

Powered by Google App Engine
This is Rietveld 408576698