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

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

Issue 1924043002: Switch the inheritance of WebViewClient from WebWidgetClient to protected. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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/VisualViewportTest.cpp
diff --git a/third_party/WebKit/Source/web/tests/VisualViewportTest.cpp b/third_party/WebKit/Source/web/tests/VisualViewportTest.cpp
index 3fcbdea4a3fd283b09320316ac1a7567c3a97aa4..34fd5454b62e1a35c482bc0878221c5b628cd862 100644
--- a/third_party/WebKit/Source/web/tests/VisualViewportTest.cpp
+++ b/third_party/WebKit/Source/web/tests/VisualViewportTest.cpp
@@ -118,7 +118,7 @@ public:
{
if (!overrideSettingsFunc)
overrideSettingsFunc = &configureSettings;
- m_helper.initialize(true, 0, &m_mockWebViewClient, overrideSettingsFunc);
+ m_helper.initialize(true, nullptr, &m_mockWebViewClient, m_mockWebViewClient.widgetClientForTests(), overrideSettingsFunc);
webViewImpl()->setDefaultPageScaleLimits(1, 4);
}
@@ -126,7 +126,7 @@ public:
{
if (!overrideSettingsFunc)
overrideSettingsFunc = &configureAndroidSettings;
- m_helper.initialize(true, 0, &m_mockWebViewClient, overrideSettingsFunc);
+ m_helper.initialize(true, nullptr, &m_mockWebViewClient, m_mockWebViewClient.widgetClientForTests(), overrideSettingsFunc);
webViewImpl()->setDefaultPageScaleLimits(0.25f, 5);
}

Powered by Google App Engine
This is Rietveld 408576698