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

Unified Diff: third_party/WebKit/Source/web/WebPagePopupImpl.cpp

Issue 2589143003: Add 'get' prefix for Settings.in generated code. (Closed)
Patch Set: Capitalize the prefix. Created 4 years 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/WebPagePopupImpl.cpp
diff --git a/third_party/WebKit/Source/web/WebPagePopupImpl.cpp b/third_party/WebKit/Source/web/WebPagePopupImpl.cpp
index d2a8c4410f1709a7109f25c6d0ad94cbed97fcf7..faa88168edccafc1326f3eea1fcb7826b6c477a1 100644
--- a/third_party/WebKit/Source/web/WebPagePopupImpl.cpp
+++ b/third_party/WebKit/Source/web/WebPagePopupImpl.cpp
@@ -285,15 +285,16 @@ bool WebPagePopupImpl::initializePage() {
m_page = Page::create(pageClients);
m_page->settings().setScriptEnabled(true);
m_page->settings().setAllowScriptsToCloseWindows(true);
- m_page->settings().setDeviceSupportsTouch(mainSettings.deviceSupportsTouch());
- m_page->settings().setMinimumFontSize(mainSettings.minimumFontSize());
+ m_page->settings().setDeviceSupportsTouch(
+ mainSettings.GetDeviceSupportsTouch());
+ m_page->settings().setMinimumFontSize(mainSettings.GetMinimumFontSize());
m_page->settings().setMinimumLogicalFontSize(
- mainSettings.minimumLogicalFontSize());
+ mainSettings.GetMinimumLogicalFontSize());
// FIXME: Should we support enabling a11y while a popup is shown?
m_page->settings().setAccessibilityEnabled(
- mainSettings.accessibilityEnabled());
+ mainSettings.GetAccessibilityEnabled());
m_page->settings().setScrollAnimatorEnabled(
- mainSettings.scrollAnimatorEnabled());
+ mainSettings.GetScrollAnimatorEnabled());
provideContextFeaturesTo(*m_page, WTF::makeUnique<PagePopupFeaturesClient>());
DEFINE_STATIC_LOCAL(FrameLoaderClient, emptyFrameLoaderClient,

Powered by Google App Engine
This is Rietveld 408576698