Index: third_party/WebKit/Source/core/css/CSSSyntaxDescriptor.cpp |
diff --git a/third_party/WebKit/Source/core/css/CSSSyntaxDescriptor.cpp b/third_party/WebKit/Source/core/css/CSSSyntaxDescriptor.cpp |
index d96dfaf8660f388aa0262cddffdfb34aa166ba0e..46ee79ff8b14d87efc0a3c0c0b945609ca247ff3 100644 |
--- a/third_party/WebKit/Source/core/css/CSSSyntaxDescriptor.cpp |
+++ b/third_party/WebKit/Source/core/css/CSSSyntaxDescriptor.cpp |
@@ -203,7 +203,7 @@ const CSSValue* CSSSyntaxDescriptor::Parse(CSSParserTokenRange range, |
bool is_animation_tainted) const { |
if (IsTokenStream()) { |
return CSSVariableParser::ParseRegisteredPropertyValue( |
- range, false, is_animation_tainted); |
+ range, *context, false, is_animation_tainted); |
} |
range.ConsumeWhitespace(); |
for (const CSSSyntaxComponent& component : syntax_components_) { |
@@ -211,7 +211,7 @@ const CSSValue* CSSSyntaxDescriptor::Parse(CSSParserTokenRange range, |
ConsumeSyntaxComponent(component, range, context)) |
return result; |
} |
- return CSSVariableParser::ParseRegisteredPropertyValue(range, true, |
+ return CSSVariableParser::ParseRegisteredPropertyValue(range, *context, true, |
is_animation_tainted); |
} |