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

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

Issue 2914753002: Make TextCombine 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 76d4faa064d462457ae8ba7a4f15f74ede03843a..f78caea467d7ea1c2e84490cbc38fe27c086be42 100644
--- a/third_party/WebKit/Source/core/css/ComputedStyleCSSValueMapping.cpp
+++ b/third_party/WebKit/Source/core/css/ComputedStyleCSSValueMapping.cpp
@@ -3301,7 +3301,7 @@ const CSSValue* ComputedStyleCSSValueMapping::Get(
case CSSPropertyWebkitWritingMode:
return CSSIdentifierValue::Create(style.GetWritingMode());
case CSSPropertyWebkitTextCombine:
- if (style.GetTextCombine() == kTextCombineAll)
+ if (style.GetTextCombine() == TextCombine::kAll)
return CSSIdentifierValue::Create(CSSValueHorizontal);
case CSSPropertyTextCombineUpright:
return CSSIdentifierValue::Create(style.GetTextCombine());
« no previous file with comments | « third_party/WebKit/Source/core/css/CSSProperties.json5 ('k') | third_party/WebKit/Source/core/style/ComputedStyle.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698