| Index: third_party/WebKit/Source/core/css/cssom/CSSUnparsedValue.cpp
|
| diff --git a/third_party/WebKit/Source/core/css/cssom/CSSUnparsedValue.cpp b/third_party/WebKit/Source/core/css/cssom/CSSUnparsedValue.cpp
|
| index 7c48f2ac3930c04231becd3b80ea5b50c9f1bdfa..4c29033f3f394459e4664b96495cb6eeb1975558 100644
|
| --- a/third_party/WebKit/Source/core/css/cssom/CSSUnparsedValue.cpp
|
| +++ b/third_party/WebKit/Source/core/css/cssom/CSSUnparsedValue.cpp
|
| @@ -87,9 +87,13 @@ CSSValue* CSSUnparsedValue::ToCSSValue() const {
|
| }
|
|
|
| CSSTokenizer tokenizer(tokens.ToString());
|
| - return CSSVariableReferenceValue::Create(CSSVariableData::Create(
|
| - tokenizer.TokenRange(), false /* isAnimationTainted */,
|
| - true /* needsVariableResolution */));
|
| + // TODO(alancutter): This should be using a real parser context instead of
|
| + // StrictCSSParserContext.
|
| + return CSSVariableReferenceValue::Create(
|
| + CSSVariableData::Create(tokenizer.TokenRange(),
|
| + false /* isAnimationTainted */,
|
| + true /* needsVariableResolution */),
|
| + *StrictCSSParserContext());
|
| }
|
|
|
| } // namespace blink
|
|
|