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 5c5a08e7b9810370e738bfead09114a3eb0710c9..6eb6b0fedd7d900d4b9a5953ef24ec2563c24d96 100644 |
--- a/third_party/WebKit/Source/core/css/parser/CSSParserFastPaths.cpp |
+++ b/third_party/WebKit/Source/core/css/parser/CSSParserFastPaths.cpp |
@@ -10,6 +10,7 @@ |
#include "core/css/CSSInheritedValue.h" |
#include "core/css/CSSInitialValue.h" |
#include "core/css/CSSPrimitiveValue.h" |
+#include "core/css/StyleColor.h" |
#include "core/css/parser/CSSParserIdioms.h" |
#include "core/css/parser/CSSPropertyParser.h" |
#include "core/html/parser/HTMLParserIdioms.h" |
@@ -443,7 +444,7 @@ CSSValue* CSSParserFastPaths::parseColor(const String& string, CSSParserMode par |
{ |
ASSERT(!string.isEmpty()); |
CSSValueID valueID = cssValueKeywordID(string); |
- if (CSSPropertyParser::isColorKeyword(valueID)) { |
+ if (StyleColor::isColorKeyword(valueID)) { |
if (!isValueAllowedInMode(valueID, parserMode)) |
return nullptr; |
return CSSPrimitiveValue::createIdentifier(valueID); |