| Index: third_party/WebKit/Source/core/css/PropertyRegistration.cpp
|
| diff --git a/third_party/WebKit/Source/core/css/PropertyRegistration.cpp b/third_party/WebKit/Source/core/css/PropertyRegistration.cpp
|
| index 20437d4a81ac5c94183f0bc2341a22afb3e27d94..7c3d549452b4b59fa8d9b434751aeddcc72ba9ee 100644
|
| --- a/third_party/WebKit/Source/core/css/PropertyRegistration.cpp
|
| +++ b/third_party/WebKit/Source/core/css/PropertyRegistration.cpp
|
| @@ -90,7 +90,9 @@ void PropertyRegistration::registerProperty(
|
|
|
| if (descriptor.hasInitialValue()) {
|
| CSSTokenizer::Scope scope(descriptor.initialValue());
|
| - const CSSValue* initial = syntaxDescriptor.parse(scope.tokenRange());
|
| + bool isAnimationTainted = false;
|
| + const CSSValue* initial =
|
| + syntaxDescriptor.parse(scope.tokenRange(), isAnimationTainted);
|
| if (!initial) {
|
| exceptionState.throwDOMException(
|
| SyntaxError,
|
| @@ -104,7 +106,7 @@ void PropertyRegistration::registerProperty(
|
| return;
|
| }
|
| RefPtr<CSSVariableData> initialVariableData =
|
| - CSSVariableData::create(scope.tokenRange(), false);
|
| + CSSVariableData::create(scope.tokenRange(), isAnimationTainted, false);
|
| registry.registerProperty(atomicName, syntaxDescriptor,
|
| descriptor.inherits(), initial,
|
| initialVariableData.release());
|
|
|