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

Unified Diff: third_party/WebKit/Source/core/dom/Document.cpp

Issue 1766723004: style: Remame values in EOverflow and EVerticalAlign to CamelCase (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: enum-clash-EOverflowEVerticalAlign: rebase Created 4 years, 9 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/dom/Document.cpp
diff --git a/third_party/WebKit/Source/core/dom/Document.cpp b/third_party/WebKit/Source/core/dom/Document.cpp
index a24e842321b853a1f5e571df02e10fce3dc4a837..81263fb20b605db13a5843c513e00835b5d3c863 100644
--- a/third_party/WebKit/Source/core/dom/Document.cpp
+++ b/third_party/WebKit/Source/core/dom/Document.cpp
@@ -1647,17 +1647,17 @@ void Document::inheritHtmlAndBodyElementStyles(StyleRecalcChange change)
documentElement()->setNeedsStyleRecalc(SubtreeStyleChange, StyleChangeReasonForTracing::create(StyleChangeReason::FontSizeChange));
}
- EOverflow overflowX = OAUTO;
- EOverflow overflowY = OAUTO;
+ EOverflow overflowX = OverflowAuto;
+ EOverflow overflowY = OverflowAuto;
float columnGap = 0;
if (overflowStyle) {
overflowX = overflowStyle->overflowX();
overflowY = overflowStyle->overflowY();
// Visible overflow on the viewport is meaningless, and the spec says to treat it as 'auto':
- if (overflowX == OVISIBLE)
- overflowX = OAUTO;
- if (overflowY == OVISIBLE)
- overflowY = OAUTO;
+ if (overflowX == OverflowVisible)
+ overflowX = OverflowAuto;
+ if (overflowY == OverflowVisible)
+ overflowY = OverflowAuto;
// Column-gap is (ab)used by the current paged overflow implementation (in lack of other
// ways to specify gaps between pages), so we have to propagate it too.
columnGap = overflowStyle->columnGap();

Powered by Google App Engine
This is Rietveld 408576698