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

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

Issue 2651583007: Plumbing blink::Interface{Provider|Registry} through WebLocalFrame's constructor. (Closed)
Patch Set: ScreenWakeLockTest 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 5ceb8a0af3a7fcb129e091edcb8fa8c6dc1c0e98..ca39dfd492622a8d314849453e821f89b2893b86 100644
--- a/third_party/WebKit/Source/web/tests/WebViewTest.cpp
+++ b/third_party/WebKit/Source/web/tests/WebViewTest.cpp
@@ -437,8 +437,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();
}
@@ -2150,8 +2150,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.

Powered by Google App Engine
This is Rietveld 408576698