summaryrefslogtreecommitdiffstats
path: root/Source/WebCore/svg/animation
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebCore/svg/animation')
-rw-r--r--Source/WebCore/svg/animation/SVGSMILElement.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/WebCore/svg/animation/SVGSMILElement.cpp b/Source/WebCore/svg/animation/SVGSMILElement.cpp
index 3bb5880..4e0caa6 100644
--- a/Source/WebCore/svg/animation/SVGSMILElement.cpp
+++ b/Source/WebCore/svg/animation/SVGSMILElement.cpp
@@ -141,6 +141,8 @@ SVGSMILElement::~SVGSMILElement()
disconnectConditions();
if (m_timeContainer)
m_timeContainer->unschedule(this);
+ if (m_targetElement)
+ document()->accessSVGExtensions()->removeAnimationElementFromTarget(this, m_targetElement);
}
static inline QualifiedName constructQualifiedName(const SVGElement* svgElement, const String& attributeName)