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

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

Issue 2658953004: Rename EOverflowAnchor values with k prefix. (Closed)
Patch Set: 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/dom/Document.cpp
diff --git a/third_party/WebKit/Source/core/dom/Document.cpp b/third_party/WebKit/Source/core/dom/Document.cpp
index 230d3c9b6189a61b6fb0ae4ca0392faef892eaef..c47c02a1c27b2ddc4a00d1bbbe060ebe25473499 100644
--- a/third_party/WebKit/Source/core/dom/Document.cpp
+++ b/third_party/WebKit/Source/core/dom/Document.cpp
@@ -1811,7 +1811,7 @@ void Document::inheritHtmlAndBodyElementStyles(StyleRecalcChange change) {
StyleChangeReasonForTracing::create(StyleChangeReason::FontSizeChange));
}
- EOverflowAnchor overflowAnchor = EOverflowAnchor::Auto;
+ EOverflowAnchor overflowAnchor = EOverflowAnchor::kAuto;
EOverflow overflowX = EOverflow::Auto;
EOverflow overflowY = EOverflow::Auto;
float columnGap = 0;
@@ -1825,8 +1825,8 @@ void Document::inheritHtmlAndBodyElementStyles(StyleRecalcChange change) {
overflowX = EOverflow::Auto;
if (overflowY == EOverflow::Visible)
overflowY = EOverflow::Auto;
- if (overflowAnchor == EOverflowAnchor::Visible)
- overflowAnchor = EOverflowAnchor::Auto;
+ if (overflowAnchor == EOverflowAnchor::kVisible)
+ overflowAnchor = EOverflowAnchor::kAuto;
// 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.
« no previous file with comments | « third_party/WebKit/Source/core/css/CSSPrimitiveValueMappings.h ('k') | third_party/WebKit/Source/core/frame/FrameView.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698