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

Unified Diff: third_party/WebKit/Source/core/css/resolver/StyleAdjuster.cpp

Issue 2358473002: Renamed EFloat members to match keywords (Closed)
Patch Set: Rebase Created 4 years, 3 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/css/resolver/StyleAdjuster.cpp
diff --git a/third_party/WebKit/Source/core/css/resolver/StyleAdjuster.cpp b/third_party/WebKit/Source/core/css/resolver/StyleAdjuster.cpp
index 80f5af487013849c8dfd15bfa8585ca568131a65..26d455dfab65fab8e9f6990d0d9265dbc2348017 100644
--- a/third_party/WebKit/Source/core/css/resolver/StyleAdjuster.cpp
+++ b/third_party/WebKit/Source/core/css/resolver/StyleAdjuster.cpp
@@ -218,7 +218,7 @@ static void adjustStyleForHTMLElement(ComputedStyle& style, HTMLElement& element
if (isHTMLRTElement(element)) {
// Ruby text does not support float or position. This might change with evolution of the specification.
style.setPosition(StaticPosition);
- style.setFloating(EFloat::NoFloat);
+ style.setFloating(EFloat::None);
return;
}
@@ -317,7 +317,7 @@ static void adjustStyleForDisplay(ComputedStyle& style, const ComputedStyle& par
style.setWritingMode(TopToBottomWritingMode);
if (parentStyle.isDisplayFlexibleOrGridBox()) {
- style.setFloating(EFloat::NoFloat);
+ style.setFloating(EFloat::None);
style.setDisplay(equivalentBlockDisplay(style.display()));
// We want to count vertical percentage paddings/margins on flex items because our current

Powered by Google App Engine
This is Rietveld 408576698