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 acbc03e5766f9903ec16a22f27d14748ae6aa8a0..adfd4f7b4f2061e63f33599ff27b3cd4d4037373 100644 |
--- a/third_party/WebKit/Source/core/css/ComputedStyleCSSValueMapping.cpp |
+++ b/third_party/WebKit/Source/core/css/ComputedStyleCSSValueMapping.cpp |
@@ -1482,8 +1482,7 @@ static CSSValue* valueForContentData(const ComputedStyle& style) { |
CSSStringValue* separator = CSSStringValue::create(counter->separator()); |
CSSValueID listStyleIdent = CSSValueNone; |
if (counter->listStyle() != NoneListStyle) |
- listStyleIdent = |
- static_cast<CSSValueID>(CSSValueDisc + counter->listStyle()); |
+ listStyleIdent = platformEnumToCSSValueID(counter->listStyle()); |
CSSIdentifierValue* listStyle = |
CSSIdentifierValue::create(listStyleIdent); |
list->append(*CSSCounterValue::create(identifier, listStyle, separator)); |