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

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

Issue 2561973002: Changed EOverflowAnchor to an enum class and renamed its members (Closed)
Patch Set: 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/Document.cpp
diff --git a/third_party/WebKit/Source/core/dom/Document.cpp b/third_party/WebKit/Source/core/dom/Document.cpp
index 42be05c5f800748486f1d7d6964667c041548327..69a451b6aac6e03ab005cad799b3591ce5bde027 100644
--- a/third_party/WebKit/Source/core/dom/Document.cpp
+++ b/third_party/WebKit/Source/core/dom/Document.cpp
@@ -1805,7 +1805,7 @@ void Document::inheritHtmlAndBodyElementStyles(StyleRecalcChange change) {
StyleChangeReasonForTracing::create(StyleChangeReason::FontSizeChange));
}
- EOverflowAnchor overflowAnchor = AnchorAuto;
+ EOverflowAnchor overflowAnchor = EOverflowAnchor::Auto;
EOverflow overflowX = OverflowAuto;
EOverflow overflowY = OverflowAuto;
float columnGap = 0;
@@ -1819,8 +1819,8 @@ void Document::inheritHtmlAndBodyElementStyles(StyleRecalcChange change) {
overflowX = OverflowAuto;
if (overflowY == OverflowVisible)
overflowY = OverflowAuto;
- if (overflowAnchor == AnchorVisible)
- overflowAnchor = AnchorAuto;
+ if (overflowAnchor == EOverflowAnchor::Visible)
+ overflowAnchor = EOverflowAnchor::Auto;
// 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