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

Unified Diff: third_party/WebKit/Source/core/css/ComputedStyleCSSValueMapping.cpp

Issue 2546333002: Changed Order 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/css/ComputedStyleCSSValueMapping.cpp
diff --git a/third_party/WebKit/Source/core/css/ComputedStyleCSSValueMapping.cpp b/third_party/WebKit/Source/core/css/ComputedStyleCSSValueMapping.cpp
index 3a4c9c16bf4a3f15e8062118e986dcb2c32f61fe..d001c42c78618720a71db291e543014c8f27e2cb 100644
--- a/third_party/WebKit/Source/core/css/ComputedStyleCSSValueMapping.cpp
+++ b/third_party/WebKit/Source/core/css/ComputedStyleCSSValueMapping.cpp
@@ -3052,8 +3052,9 @@ const CSSValue* ComputedStyleCSSValueMapping::get(
return list;
}
case CSSPropertyWebkitRtlOrdering:
- return CSSIdentifierValue::create(style.rtlOrdering() ? CSSValueVisual
- : CSSValueLogical);
+ return CSSIdentifierValue::create(style.rtlOrdering() == EOrder::Visual
+ ? CSSValueVisual
+ : CSSValueLogical);
case CSSPropertyWebkitTapHighlightColor:
return currentColorOrValidColor(style, style.tapHighlightColor());
case CSSPropertyWebkitUserDrag:

Powered by Google App Engine
This is Rietveld 408576698