Index: third_party/WebKit/Source/core/css/parser/CSSPropertyParserHelpers.cpp |
diff --git a/third_party/WebKit/Source/core/css/parser/CSSPropertyParserHelpers.cpp b/third_party/WebKit/Source/core/css/parser/CSSPropertyParserHelpers.cpp |
index 7467c610b3ca6b023483e32c2fc81298ca8d2b67..b4e834106660a9cb4b98eda4312a4ca50f1b1f57 100644 |
--- a/third_party/WebKit/Source/core/css/parser/CSSPropertyParserHelpers.cpp |
+++ b/third_party/WebKit/Source/core/css/parser/CSSPropertyParserHelpers.cpp |
@@ -8,8 +8,6 @@ |
#include "core/css/CSSColorValue.h" |
#include "core/css/CSSStringValue.h" |
#include "core/css/CSSValuePair.h" |
-// TODO(timloh): Remove this dependency |
-#include "core/css/parser/CSSPropertyParser.h" |
namespace blink { |
@@ -447,7 +445,7 @@ static bool parseColorFunction(CSSParserTokenRange& range, RGBA32& result) |
CSSValue* consumeColor(CSSParserTokenRange& range, CSSParserMode cssParserMode, bool acceptQuirkyColors) |
{ |
CSSValueID id = range.peek().id(); |
- if (CSSPropertyParser::isColorKeyword(id)) { |
+ if (StyleColor::isColorKeyword(id)) { |
if (!isValueAllowedInMode(id, cssParserMode)) |
return nullptr; |
return consumeIdent(range); |