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

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: rebase, fix new test 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 138c55a338b1be3246d57313f1abcdcdf77e0c94..1e192b9cd497bf972c13c4da80e8f3166bbf0d75 100644
--- a/third_party/WebKit/Source/web/tests/VisualViewportTest.cpp
+++ b/third_party/WebKit/Source/web/tests/VisualViewportTest.cpp
@@ -119,7 +119,7 @@ public:
{
if (!overrideSettingsFunc)
overrideSettingsFunc = &configureSettings;
- m_helper.initialize(true, 0, &m_mockWebViewClient, overrideSettingsFunc);
+ m_helper.initialize(true, nullptr, &m_mockWebViewClient, nullptr, overrideSettingsFunc);
webViewImpl()->setDefaultPageScaleLimits(1, 4);
}
@@ -127,7 +127,7 @@ public:
{
if (!overrideSettingsFunc)
overrideSettingsFunc = &configureAndroidSettings;
- m_helper.initialize(true, 0, &m_mockWebViewClient, overrideSettingsFunc);
+ m_helper.initialize(true, nullptr, &m_mockWebViewClient, nullptr, overrideSettingsFunc);
webViewImpl()->setDefaultPageScaleLimits(0.25f, 5);
}

Powered by Google App Engine
This is Rietveld 408576698