| Index: third_party/WebKit/Source/core/css/CSSCounterValue.h
|
| diff --git a/third_party/WebKit/Source/core/css/CSSCounterValue.h b/third_party/WebKit/Source/core/css/CSSCounterValue.h
|
| index 6ff363a3fdcd03fb1df6c5cc1ff44ac51e48ca04..94c3bc798e01ce4ff44e3849d90b7e8ee36fe3b2 100644
|
| --- a/third_party/WebKit/Source/core/css/CSSCounterValue.h
|
| +++ b/third_party/WebKit/Source/core/css/CSSCounterValue.h
|
| @@ -22,7 +22,7 @@
|
| #define CSSCounterValue_h
|
|
|
| #include "core/css/CSSCustomIdentValue.h"
|
| -#include "core/css/CSSPrimitiveValue.h"
|
| +#include "core/css/CSSIdentifierValue.h"
|
| #include "core/css/CSSStringValue.h"
|
| #include "wtf/text/WTFString.h"
|
|
|
| @@ -30,7 +30,7 @@ namespace blink {
|
|
|
| class CSSCounterValue : public CSSValue {
|
| public:
|
| - static CSSCounterValue* create(CSSCustomIdentValue* identifier, CSSPrimitiveValue* listStyle, CSSStringValue* separator)
|
| + static CSSCounterValue* create(CSSCustomIdentValue* identifier, CSSIdentifierValue* listStyle, CSSStringValue* separator)
|
| {
|
| return new CSSCounterValue(identifier, listStyle, separator);
|
| }
|
| @@ -51,17 +51,16 @@ public:
|
| DECLARE_TRACE_AFTER_DISPATCH();
|
|
|
| private:
|
| - CSSCounterValue(CSSCustomIdentValue* identifier, CSSPrimitiveValue* listStyle, CSSStringValue* separator)
|
| + CSSCounterValue(CSSCustomIdentValue* identifier, CSSIdentifierValue* listStyle, CSSStringValue* separator)
|
| : CSSValue(CounterClass)
|
| , m_identifier(identifier)
|
| , m_listStyle(listStyle)
|
| , m_separator(separator)
|
| {
|
| - ASSERT(m_listStyle->isValueID());
|
| }
|
|
|
| Member<CSSCustomIdentValue> m_identifier; // string
|
| - Member<CSSPrimitiveValue> m_listStyle; // ident
|
| + Member<CSSIdentifierValue> m_listStyle; // ident
|
| Member<CSSStringValue> m_separator; // string
|
| };
|
|
|
|
|