Index: third_party/WebKit/Source/core/css/parser/CSSParser.cpp |
diff --git a/third_party/WebKit/Source/core/css/parser/CSSParser.cpp b/third_party/WebKit/Source/core/css/parser/CSSParser.cpp |
index 0e1454a6b25ff1fd54d3c50da3b508d8d3aad6ab..5af2a021a8c93b75007cce704b40115bd3e65191 100644 |
--- a/third_party/WebKit/Source/core/css/parser/CSSParser.cpp |
+++ b/third_party/WebKit/Source/core/css/parser/CSSParser.cpp |
@@ -100,7 +100,7 @@ bool CSSParser::parseValue(MutableStylePropertySet* declaration, CSSPropertyID u |
return CSSParserImpl::parseValue(declaration, unresolvedProperty, string, important, context); |
} |
-CSSValue* CSSParser::parseSingleValue(CSSPropertyID propertyID, const String& string, const CSSParserContext& context) |
+const CSSValue* CSSParser::parseSingleValue(CSSPropertyID propertyID, const String& string, const CSSParserContext& context) |
{ |
if (string.isEmpty()) |
return nullptr; |
@@ -146,7 +146,7 @@ bool CSSParser::parseColor(Color& color, const String& string, bool strict) |
return true; |
} |
- CSSValue* value = CSSParserFastPaths::parseColor(string, strict ? HTMLStandardMode : HTMLQuirksMode); |
+ const CSSValue* value = CSSParserFastPaths::parseColor(string, strict ? HTMLStandardMode : HTMLQuirksMode); |
// TODO(timloh): Why is this always strict mode? |
if (!value) |
value = parseSingleValue(CSSPropertyColor, string, strictCSSParserContext()); |