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

Unified Diff: third_party/WebKit/Source/core/page/Page.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/core/page/Page.cpp
diff --git a/third_party/WebKit/Source/core/page/Page.cpp b/third_party/WebKit/Source/core/page/Page.cpp
index 6a9bc39a827411053c876948fab0292e2d60bbff..b403339f8bc6a790bf7026b9ae869aa1de61bea3 100644
--- a/third_party/WebKit/Source/core/page/Page.cpp
+++ b/third_party/WebKit/Source/core/page/Page.cpp
@@ -158,7 +158,7 @@ ViewportDescription Page::viewportDescription() const {
}
ScrollingCoordinator* Page::scrollingCoordinator() {
- if (!m_scrollingCoordinator && m_settings->acceleratedCompositingEnabled())
+ if (!m_scrollingCoordinator && m_settings->GetAcceleratedCompositingEnabled())
m_scrollingCoordinator = ScrollingCoordinator::create(this);
return m_scrollingCoordinator.get();
@@ -357,9 +357,9 @@ void Page::settingsChanged(SettingsDelegate::ChangeType changeType) {
frame = frame->tree().traverseNext()) {
if (frame->isLocalFrame()) {
toLocalFrame(frame)->document()->fetcher()->setImagesEnabled(
- settings().imagesEnabled());
+ settings().GetImagesEnabled());
toLocalFrame(frame)->document()->fetcher()->setAutoLoadImages(
- settings().loadsImagesAutomatically());
+ settings().GetLoadsImagesAutomatically());
}
}
break;
@@ -416,7 +416,7 @@ void Page::settingsChanged(SettingsDelegate::ChangeType changeType) {
}
break;
case SettingsDelegate::DOMWorldsChange: {
- if (!settings().forceMainWorldInitialization())
+ if (!settings().GetForceMainWorldInitialization())
break;
for (Frame* frame = mainFrame(); frame;
frame = frame->tree().traverseNext()) {

Powered by Google App Engine
This is Rietveld 408576698