| 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 84731ec326d81ee572b22a730bf73ae7d80186a2..ae18409d28669627bee8d5152709184eb61e717d 100644
|
| --- a/third_party/WebKit/Source/core/css/CSSVariableData.cpp
|
| +++ b/third_party/WebKit/Source/core/css/CSSVariableData.cpp
|
| @@ -61,8 +61,10 @@ void CSSVariableData::consumeAndUpdateTokens(const CSSParserTokenRange& range) {
|
| }
|
|
|
| CSSVariableData::CSSVariableData(const CSSParserTokenRange& range,
|
| + bool isAnimationTainted,
|
| bool needsVariableResolution)
|
| - : m_needsVariableResolution(needsVariableResolution),
|
| + : m_isAnimationTainted(isAnimationTainted),
|
| + m_needsVariableResolution(needsVariableResolution),
|
| m_cachedPropertySet(false) {
|
| ASSERT(!range.atEnd());
|
| consumeAndUpdateTokens(range);
|
| @@ -71,7 +73,7 @@ CSSVariableData::CSSVariableData(const CSSParserTokenRange& range,
|
| const CSSValue* CSSVariableData::parseForSyntax(
|
| const CSSSyntaxDescriptor& syntax) const {
|
| DCHECK(!needsVariableResolution());
|
| - return syntax.parse(tokenRange());
|
| + return syntax.parse(tokenRange(), m_isAnimationTainted);
|
| }
|
|
|
| } // namespace blink
|
|
|