summaryrefslogtreecommitdiff
path: root/Source/WebCore/svg/properties/SVGListPropertyTearOff.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebCore/svg/properties/SVGListPropertyTearOff.h')
-rw-r--r--Source/WebCore/svg/properties/SVGListPropertyTearOff.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/Source/WebCore/svg/properties/SVGListPropertyTearOff.h b/Source/WebCore/svg/properties/SVGListPropertyTearOff.h
index 3c6552467..326a89a74 100644
--- a/Source/WebCore/svg/properties/SVGListPropertyTearOff.h
+++ b/Source/WebCore/svg/properties/SVGListPropertyTearOff.h
@@ -121,6 +121,12 @@ protected:
{
}
+ virtual ~SVGListPropertyTearOff()
+ {
+ if (m_animatedProperty)
+ m_animatedProperty->propertyWillBeDeleted(*this);
+ }
+
virtual bool isReadOnly() const
{
if (m_role == AnimValRole)