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

Unified Diff: third_party/WebKit/Source/core/page/Page.cpp

Issue 2589143003: Add 'get' prefix for Settings.in generated code. (Closed)
Patch Set: Only get prefix and no capitalization. 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/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 3a068491ea183ce0e7a95b227ac05de5758acde2..d167b5f208750bd5c1444989d5b409a3c7af3580 100644
--- a/third_party/WebKit/Source/core/page/Page.cpp
+++ b/third_party/WebKit/Source/core/page/Page.cpp
@@ -169,7 +169,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();
@@ -368,9 +368,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;
@@ -427,7 +427,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()) {
« no previous file with comments | « third_party/WebKit/Source/core/page/DragController.cpp ('k') | third_party/WebKit/Source/core/page/SpatialNavigation.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698