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/layout/compositing/PaintLayerCompositor.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/layout/compositing/PaintLayerCompositor.cpp
diff --git a/third_party/WebKit/Source/core/layout/compositing/PaintLayerCompositor.cpp b/third_party/WebKit/Source/core/layout/compositing/PaintLayerCompositor.cpp
index 212e75d5aa0b62d2861d0afc4425097d882d958f..9dbafbcef58aea71f605089362398865e3535e64 100644
--- a/third_party/WebKit/Source/core/layout/compositing/PaintLayerCompositor.cpp
+++ b/third_party/WebKit/Source/core/layout/compositing/PaintLayerCompositor.cpp
@@ -147,7 +147,7 @@ bool PaintLayerCompositor::rootShouldAlwaysComposite() const {
void PaintLayerCompositor::updateAcceleratedCompositingSettings() {
m_compositingReasonFinder.updateTriggers();
m_hasAcceleratedCompositing =
- m_layoutView.document().settings()->acceleratedCompositingEnabled();
+ m_layoutView.document().settings()->getAcceleratedCompositingEnabled();
m_rootShouldAlwaysCompositeDirty = true;
if (m_rootLayerAttachment != RootLayerUnattached)
rootLayer()->setNeedsCompositingInputsUpdate();
@@ -156,7 +156,7 @@ void PaintLayerCompositor::updateAcceleratedCompositingSettings() {
bool PaintLayerCompositor::preferCompositingToLCDTextEnabled() const {
return m_layoutView.document()
.settings()
- ->preferCompositingToLCDTextEnabled();
+ ->getPreferCompositingToLCDTextEnabled();
}
static LayoutVideo* findFullscreenVideoLayoutObject(Document& document) {
@@ -950,7 +950,7 @@ Scrollbar* PaintLayerCompositor::graphicsLayerToScrollbar(
bool PaintLayerCompositor::supportsFixedRootBackgroundCompositing() const {
if (Settings* settings = m_layoutView.document().settings())
- return settings->preferCompositingToLCDTextEnabled();
+ return settings->getPreferCompositingToLCDTextEnabled();
return false;
}

Powered by Google App Engine
This is Rietveld 408576698