| Index: third_party/WebKit/Source/core/css/parser/CSSParserFastPaths.cpp
|
| diff --git a/third_party/WebKit/Source/core/css/parser/CSSParserFastPaths.cpp b/third_party/WebKit/Source/core/css/parser/CSSParserFastPaths.cpp
|
| index 311c8a282b036de64c4e48341263e5f74a696dca..007e97c0a6963d7671352b5444048b11cf3d51bb 100644
|
| --- a/third_party/WebKit/Source/core/css/parser/CSSParserFastPaths.cpp
|
| +++ b/third_party/WebKit/Source/core/css/parser/CSSParserFastPaths.cpp
|
| @@ -7,6 +7,7 @@
|
| #include "core/StylePropertyShorthand.h"
|
| #include "core/css/CSSColorValue.h"
|
| #include "core/css/CSSFunctionValue.h"
|
| +#include "core/css/CSSIdentifierValue.h"
|
| #include "core/css/CSSInheritedValue.h"
|
| #include "core/css/CSSInitialValue.h"
|
| #include "core/css/CSSPrimitiveValue.h"
|
| @@ -468,7 +469,7 @@ CSSValue* CSSParserFastPaths::parseColor(const String& string,
|
| if (StyleColor::isColorKeyword(valueID)) {
|
| if (!isValueAllowedInMode(valueID, parserMode))
|
| return nullptr;
|
| - return CSSPrimitiveValue::createIdentifier(valueID);
|
| + return CSSIdentifierValue::create(valueID);
|
| }
|
|
|
| RGBA32 color;
|
| @@ -987,7 +988,7 @@ static CSSValue* parseKeywordValue(CSSPropertyID propertyId,
|
| return CSSInitialValue::create();
|
| if (CSSParserFastPaths::isValidKeywordPropertyAndValue(propertyId, valueID,
|
| parserMode))
|
| - return CSSPrimitiveValue::createIdentifier(valueID);
|
| + return CSSIdentifierValue::create(valueID);
|
| return nullptr;
|
| }
|
|
|
|
|