Index: third_party/WebKit/Source/core/css/CSSVariableData.cpp |
diff --git a/third_party/WebKit/Source/core/css/CSSVariableData.cpp b/third_party/WebKit/Source/core/css/CSSVariableData.cpp |
index 07b022425c1b634728540c2af59ec57f2668e81b..58f2fa5d56bb6df34dae1b276940e250a9eeacda 100644 |
--- a/third_party/WebKit/Source/core/css/CSSVariableData.cpp |
+++ b/third_party/WebKit/Source/core/css/CSSVariableData.cpp |
@@ -73,7 +73,10 @@ CSSVariableData::CSSVariableData(const CSSParserTokenRange& range, |
const CSSValue* CSSVariableData::parseForSyntax( |
const CSSSyntaxDescriptor& syntax) const { |
DCHECK(!needsVariableResolution()); |
- return syntax.parse(tokenRange(), m_isAnimationTainted); |
+ // TODO(timloh): This probably needs a proper parser context for |
+ // relative URL resolution. |
+ return syntax.parse(tokenRange(), strictCSSParserContext(), |
+ m_isAnimationTainted); |
} |
} // namespace blink |