| Index: third_party/WebKit/Source/core/css/parser/CSSPropertyParser.cpp
|
| diff --git a/third_party/WebKit/Source/core/css/parser/CSSPropertyParser.cpp b/third_party/WebKit/Source/core/css/parser/CSSPropertyParser.cpp
|
| index 13aee59f4f2177db8ac9250e37b9afe023c390d3..565127705adba3e30bfe5e08269ffabb5055a199 100644
|
| --- a/third_party/WebKit/Source/core/css/parser/CSSPropertyParser.cpp
|
| +++ b/third_party/WebKit/Source/core/css/parser/CSSPropertyParser.cpp
|
| @@ -2382,16 +2382,13 @@ static CSSValue* consumeCounterContent(CSSParserTokenRange args, bool counters)
|
| if (!identifier)
|
| return nullptr;
|
|
|
| - // TODO(timloh): Make this a CSSStringValue.
|
| - CSSCustomIdentValue* separator = nullptr;
|
| + CSSStringValue* separator = nullptr;
|
| if (!counters) {
|
| - separator = CSSCustomIdentValue::create(String());
|
| + separator = CSSStringValue::create(String());
|
| } else {
|
| - if (!consumeCommaIncludingWhitespace(args))
|
| - return nullptr;
|
| - if (args.peek().type() != StringToken)
|
| + if (!consumeCommaIncludingWhitespace(args) || args.peek().type() != StringToken)
|
| return nullptr;
|
| - separator = CSSCustomIdentValue::create(args.consumeIncludingWhitespace().value());
|
| + separator = CSSStringValue::create(args.consumeIncludingWhitespace().value());
|
| }
|
|
|
| CSSPrimitiveValue* listStyle = nullptr;
|
|
|