Index: third_party/WebKit/Source/core/css/cssom/CSSUnsupportedStyleValue.cpp |
diff --git a/third_party/WebKit/Source/core/css/cssom/CSSUnsupportedStyleValue.cpp b/third_party/WebKit/Source/core/css/cssom/CSSUnsupportedStyleValue.cpp |
index e2457d30d4da033797c11248662d8568e603d640..5ca9cb88a501d7007c61ef3d7412010dcba5b108 100644 |
--- a/third_party/WebKit/Source/core/css/cssom/CSSUnsupportedStyleValue.cpp |
+++ b/third_party/WebKit/Source/core/css/cssom/CSSUnsupportedStyleValue.cpp |
@@ -17,7 +17,8 @@ CSSValue* CSSUnsupportedStyleValue::toCSSValue() const |
CSSValue* CSSUnsupportedStyleValue::toCSSValueWithProperty(CSSPropertyID propertyID) const |
{ |
- return CSSParser::parseSingleValue(propertyID, m_cssText, strictCSSParserContext()); |
+ // TODO(sashab): Make CSSStyleValue return const CSSValue*s and remove this cast. |
+ return const_cast<CSSValue*>(CSSParser::parseSingleValue(propertyID, m_cssText, strictCSSParserContext())); |
} |
} // namespace blink |