| 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 2fc81f6c4520b3f0959e6e1c5e8d7d4790199eaa..bfc2041abb7e478ec02881875010be5668d9da91 100644
|
| --- a/third_party/WebKit/Source/core/css/CSSSyntaxDescriptor.cpp
|
| +++ b/third_party/WebKit/Source/core/css/CSSSyntaxDescriptor.cpp
|
| @@ -194,15 +194,19 @@ const CSSValue* consumeSyntaxComponent(const CSSSyntaxComponent& syntax,
|
| return result;
|
| }
|
|
|
| -const CSSValue* CSSSyntaxDescriptor::parse(CSSParserTokenRange range) const {
|
| - if (isTokenStream())
|
| - return CSSVariableParser::parseRegisteredPropertyValue(range, false);
|
| +const CSSValue* CSSSyntaxDescriptor::parse(CSSParserTokenRange range,
|
| + bool isAnimationTainted) const {
|
| + if (isTokenStream()) {
|
| + return CSSVariableParser::parseRegisteredPropertyValue(range, false,
|
| + isAnimationTainted);
|
| + }
|
| range.consumeWhitespace();
|
| for (const CSSSyntaxComponent& component : m_syntaxComponents) {
|
| if (const CSSValue* result = consumeSyntaxComponent(component, range))
|
| return result;
|
| }
|
| - return CSSVariableParser::parseRegisteredPropertyValue(range, true);
|
| + return CSSVariableParser::parseRegisteredPropertyValue(range, true,
|
| + isAnimationTainted);
|
| }
|
|
|
| } // namespace blink
|
|
|