| 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..0c8ab2472cb5acb14d08a98fa94207d8f447c4ba 100644
|
| --- a/third_party/WebKit/Source/core/css/ComputedStyleCSSValueMapping.cpp
|
| +++ b/third_party/WebKit/Source/core/css/ComputedStyleCSSValueMapping.cpp
|
| @@ -1481,9 +1481,12 @@ static CSSValue* valueForContentData(const ComputedStyle& style) {
|
| CSSCustomIdentValue::create(counter->identifier());
|
| CSSStringValue* separator = CSSStringValue::create(counter->separator());
|
| CSSValueID listStyleIdent = CSSValueNone;
|
| - if (counter->listStyle() != NoneListStyle)
|
| + if (counter->listStyle() != EListStyleType::NoneListStyle) {
|
| + // TODO(sashab): Change this to use a converter instead of
|
| + // CSSPrimitiveValueMappings.
|
| listStyleIdent =
|
| - static_cast<CSSValueID>(CSSValueDisc + counter->listStyle());
|
| + CSSIdentifierValue::create(counter->listStyle())->getValueID();
|
| + }
|
| CSSIdentifierValue* listStyle =
|
| CSSIdentifierValue::create(listStyleIdent);
|
| list->append(*CSSCounterValue::create(identifier, listStyle, separator));
|
|
|