| Index: Source/core/svg/SVGAnimateElement.cpp
|
| diff --git a/Source/core/svg/SVGAnimateElement.cpp b/Source/core/svg/SVGAnimateElement.cpp
|
| index fb5ca0dd4cad38c0c4647aca3881ea98e6fc433d..52156b556ad8135ecbc5ea47f6dc3d8a23c8ee4d 100644
|
| --- a/Source/core/svg/SVGAnimateElement.cpp
|
| +++ b/Source/core/svg/SVGAnimateElement.cpp
|
| @@ -204,7 +204,7 @@ static inline void applyCSSPropertyToTarget(SVGElement* targetElement, CSSProper
|
| if (!propertySet->setProperty(id, value, false, 0))
|
| return;
|
|
|
| - targetElement->setNeedsStyleRecalc(LocalStyleChange);
|
| + targetElement->setNeedsStyleRecalc(LocalStyleChange, StyleChangeReasonForTracing::create(StyleChangeReason::Animation));
|
| }
|
|
|
| static inline void removeCSSPropertyFromTarget(SVGElement* targetElement, CSSPropertyID id)
|
| @@ -213,7 +213,7 @@ static inline void removeCSSPropertyFromTarget(SVGElement* targetElement, CSSPro
|
| ASSERT_WITH_SECURITY_IMPLICATION(!targetElement->m_deletionHasBegun);
|
| #endif
|
| targetElement->ensureAnimatedSMILStyleProperties()->removeProperty(id);
|
| - targetElement->setNeedsStyleRecalc(LocalStyleChange);
|
| + targetElement->setNeedsStyleRecalc(LocalStyleChange, StyleChangeReasonForTracing::create(StyleChangeReason::Animation));
|
| }
|
|
|
| static inline void applyCSSPropertyToTargetAndInstances(SVGElement* targetElement, const QualifiedName& attributeName, const String& valueAsString)
|
|
|