Index: Source/core/svg/SVGAnimateElement.cpp |
diff --git a/Source/core/svg/SVGAnimateElement.cpp b/Source/core/svg/SVGAnimateElement.cpp |
index 2ae5e35dde2c6ea21e8d4210686337a6ca4d0f3d..dff3581bb05b3ced2ea69c566efe29e235048998 100644 |
--- a/Source/core/svg/SVGAnimateElement.cpp |
+++ b/Source/core/svg/SVGAnimateElement.cpp |
@@ -205,7 +205,7 @@ static inline void applyCSSPropertyToTarget(SVGElement* targetElement, CSSProper |
if (!propertySet->setProperty(id, value, false, 0)) |
return; |
- targetElement->setNeedsStyleRecalc(LocalStyleChange); |
+ targetElement->setNeedsStyleRecalc(StyleRecalcDueToAnimation, LocalStyleChange); |
} |
static inline void removeCSSPropertyFromTarget(SVGElement* targetElement, CSSPropertyID id) |
@@ -214,7 +214,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(StyleRecalcDueToAnimation, LocalStyleChange); |
} |
static inline void applyCSSPropertyToTargetAndInstances(SVGElement* targetElement, const QualifiedName& attributeName, const String& valueAsString) |