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

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

Issue 2910123002: Make TextOrientation an enum class. (Closed)
Patch Set: Created 3 years, 7 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/ComputedStyleCSSValueMapping.cpp
diff --git a/third_party/WebKit/Source/core/css/ComputedStyleCSSValueMapping.cpp b/third_party/WebKit/Source/core/css/ComputedStyleCSSValueMapping.cpp
index 7132869b08d5ba72661b308dc6e712773ac75105..8ecc2a2d9458677ac5f0ac79f68de9a0f070adfd 100644
--- a/third_party/WebKit/Source/core/css/ComputedStyleCSSValueMapping.cpp
+++ b/third_party/WebKit/Source/core/css/ComputedStyleCSSValueMapping.cpp
@@ -3309,7 +3309,7 @@ const CSSValue* ComputedStyleCSSValueMapping::Get(
case CSSPropertyTextCombineUpright:
return CSSIdentifierValue::Create(style.GetTextCombine());
case CSSPropertyWebkitTextOrientation:
- if (style.GetTextOrientation() == kTextOrientationMixed)
+ if (style.GetTextOrientation() == TextOrientation::kMixed)
return CSSIdentifierValue::Create(CSSValueVerticalRight);
case CSSPropertyTextOrientation:
return CSSIdentifierValue::Create(style.GetTextOrientation());
« no previous file with comments | « third_party/WebKit/Source/core/css/CSSProperties.json5 ('k') | third_party/WebKit/Source/core/css/resolver/FontBuilder.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698