| Index: third_party/WebKit/Source/core/css/resolver/StyleBuilderCustom.cpp
|
| diff --git a/third_party/WebKit/Source/core/css/resolver/StyleBuilderCustom.cpp b/third_party/WebKit/Source/core/css/resolver/StyleBuilderCustom.cpp
|
| index d4f085bcd3c6ff89be5f7899d8d47384ff08ba4d..4dd5087e64ec9cd8ede0e3e498e5f1ddf59ff7bf 100644
|
| --- a/third_party/WebKit/Source/core/css/resolver/StyleBuilderCustom.cpp
|
| +++ b/third_party/WebKit/Source/core/css/resolver/StyleBuilderCustom.cpp
|
| @@ -791,9 +791,10 @@ void StyleBuilderFunctions::applyValueCSSPropertyContent(
|
| const CSSCounterValue* counterValue = toCSSCounterValue(item.get());
|
| EListStyleType listStyleType = NoneListStyle;
|
| CSSValueID listStyleIdent = counterValue->listStyle();
|
| - if (listStyleIdent != CSSValueNone)
|
| + if (listStyleIdent != CSSValueNone) {
|
| listStyleType =
|
| - static_cast<EListStyleType>(listStyleIdent - CSSValueDisc);
|
| + CSSValueIDToPlatformEnum<EListStyleType>(listStyleIdent);
|
| + }
|
| std::unique_ptr<CounterContent> counter = wrapUnique(new CounterContent(
|
| AtomicString(counterValue->identifier()), listStyleType,
|
| AtomicString(counterValue->separator())));
|
|
|