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

Unified Diff: third_party/WebKit/Source/web/tests/WebViewTest.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/WebViewTest.cpp
diff --git a/third_party/WebKit/Source/web/tests/WebViewTest.cpp b/third_party/WebKit/Source/web/tests/WebViewTest.cpp
index 1bf6e399b662dcadcf11434e50694f3b3f028622..dbfbdcc6112e2ad942df2a02e025eacd88b3badc 100644
--- a/third_party/WebKit/Source/web/tests/WebViewTest.cpp
+++ b/third_party/WebKit/Source/web/tests/WebViewTest.cpp
@@ -438,8 +438,8 @@ TEST_P(WebViewTest, SetBaseBackgroundColorBeforeMainFrame) {
webView->setBaseBackgroundColor(kBlue);
EXPECT_EQ(kBlue, webView->backgroundColor());
FrameTestHelpers::TestWebFrameClient webFrameClient;
- WebLocalFrame* frame =
- WebLocalFrame::create(WebTreeScopeType::Document, &webFrameClient);
+ WebLocalFrame* frame = WebLocalFrame::create(
+ WebTreeScopeType::Document, &webFrameClient, nullptr, nullptr);
webView->setMainFrame(frame);
webView->close();
}
@@ -2151,8 +2151,8 @@ TEST_P(WebViewTest, ClientTapHandlingNullWebViewClient) {
WebViewImpl::create(nullptr, WebPageVisibilityStateVisible);
FrameTestHelpers::TestWebFrameClient webFrameClient;
FrameTestHelpers::TestWebWidgetClient webWidgetClient;
- WebLocalFrame* localFrame =
- WebLocalFrame::create(WebTreeScopeType::Document, &webFrameClient);
+ WebLocalFrame* localFrame = WebLocalFrame::create(
+ WebTreeScopeType::Document, &webFrameClient, nullptr, nullptr);
webView->setMainFrame(localFrame);
// TODO(dcheng): The main frame widget currently has a special case.
« no previous file with comments | « third_party/WebKit/Source/web/tests/WebFrameTest.cpp ('k') | third_party/WebKit/public/web/WebFrameClient.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698