Index: Source/core/svg/SVGAnimateElement.cpp |
diff --git a/Source/core/svg/SVGAnimateElement.cpp b/Source/core/svg/SVGAnimateElement.cpp |
index 6f654df087fab8ed4a9dbe00a254f0e0665fef27..0f404eb7d9fddea2d807dba16e38deafc9e00e4c 100644 |
--- a/Source/core/svg/SVGAnimateElement.cpp |
+++ b/Source/core/svg/SVGAnimateElement.cpp |
@@ -205,6 +205,10 @@ void SVGAnimateElement::resetAnimatedType() |
SVGElement* targetElement = this->targetElement(); |
const QualifiedName& attributeName = this->attributeName(); |
ShouldApplyAnimation shouldApply = shouldApplyAnimation(targetElement, attributeName); |
+ |
+ if (shouldApply == DontApplyAnimation) |
+ return; |
+ |
if (shouldApply == ApplyXMLAnimation) { |
// SVG DOM animVal animation code-path. |
m_animatedProperties = animator->findAnimatedPropertiesForAttributeName(targetElement, attributeName); |