Index: Source/core/svg/SVGAnimateElement.cpp |
diff --git a/Source/core/svg/SVGAnimateElement.cpp b/Source/core/svg/SVGAnimateElement.cpp |
index a294933fce2899e6c6f78ed8fe8a1ed6136548e9..28fa75f390ce01ee3510bdcc5bb64e3a85abf4b1 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(StyleChangeReasonForTracing::Animation, LocalStyleChange); |
} |
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(StyleChangeReasonForTracing::Animation, LocalStyleChange); |
} |
static inline void applyCSSPropertyToTargetAndInstances(SVGElement* targetElement, const QualifiedName& attributeName, const String& valueAsString) |