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

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

Issue 2354843002: Changed EFloat to an enum class (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 35509148ac0ab89ba718a446e33c0f733a6b6b26..80f5af487013849c8dfd15bfa8585ca568131a65 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(NoFloat);
+ style.setFloating(EFloat::NoFloat);
return;
}
@@ -317,7 +317,7 @@ static void adjustStyleForDisplay(ComputedStyle& style, const ComputedStyle& par
style.setWritingMode(TopToBottomWritingMode);
if (parentStyle.isDisplayFlexibleOrGridBox()) {
- style.setFloating(NoFloat);
+ style.setFloating(EFloat::NoFloat);
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