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

Unified Diff: third_party/WebKit/Source/core/dom/Element.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/dom/Element.cpp
diff --git a/third_party/WebKit/Source/core/dom/Element.cpp b/third_party/WebKit/Source/core/dom/Element.cpp
index 76f4f86ce67437d2eb5495dd860eca1c412c24a3..794b7de2c14697f89a44f0a1a004430381491d65 100644
--- a/third_party/WebKit/Source/core/dom/Element.cpp
+++ b/third_party/WebKit/Source/core/dom/Element.cpp
@@ -435,7 +435,7 @@ void Element::scrollIntoView(bool alignToTop) {
return;
bool makeVisibleInVisualViewport =
- !document().page()->settings().inertVisualViewport();
+ !document().page()->settings().GetInertVisualViewport();
LayoutRect bounds = boundingBox();
// Align to the top / bottom and to the closest edge.
@@ -460,7 +460,7 @@ void Element::scrollIntoViewIfNeeded(bool centerIfNeeded) {
return;
bool makeVisibleInVisualViewport =
- !document().page()->settings().inertVisualViewport();
+ !document().page()->settings().GetInertVisualViewport();
LayoutRect bounds = boundingBox();
if (centerIfNeeded)
@@ -715,7 +715,7 @@ int Element::clientWidth() {
if (!RuntimeEnabledFeatures::overlayScrollbarsEnabled() ||
!document().frame()->isLocalRoot())
document().updateStyleAndLayoutIgnorePendingStylesheetsForNode(this);
- if (document().page()->settings().forceZeroLayoutHeight())
+ if (document().page()->settings().GetForceZeroLayoutHeight())
return adjustLayoutUnitForAbsoluteZoom(
layoutView.overflowClipRect(LayoutPoint()).width(),
layoutView.styleRef())
@@ -751,7 +751,7 @@ int Element::clientHeight() {
if (!RuntimeEnabledFeatures::overlayScrollbarsEnabled() ||
!document().frame()->isLocalRoot())
document().updateStyleAndLayoutIgnorePendingStylesheetsForNode(this);
- if (document().page()->settings().forceZeroLayoutHeight())
+ if (document().page()->settings().GetForceZeroLayoutHeight())
return adjustLayoutUnitForAbsoluteZoom(
layoutView.overflowClipRect(LayoutPoint()).height(),
layoutView.styleRef())
@@ -3437,7 +3437,7 @@ bool Element::isSpellCheckingEnabled() const {
if (!document().page())
return true;
- return document().page()->settings().spellCheckEnabledByDefault();
+ return document().page()->settings().GetSpellCheckEnabledByDefault();
}
#if DCHECK_IS_ON()

Powered by Google App Engine
This is Rietveld 408576698