summaryrefslogtreecommitdiff
path: root/Source/WebCore/svg/properties/SVGAnimatedStaticPropertyTearOff.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebCore/svg/properties/SVGAnimatedStaticPropertyTearOff.h')
-rw-r--r--Source/WebCore/svg/properties/SVGAnimatedStaticPropertyTearOff.h10
1 files changed, 1 insertions, 9 deletions
diff --git a/Source/WebCore/svg/properties/SVGAnimatedStaticPropertyTearOff.h b/Source/WebCore/svg/properties/SVGAnimatedStaticPropertyTearOff.h
index 59fcd8500..e3efcd06a 100644
--- a/Source/WebCore/svg/properties/SVGAnimatedStaticPropertyTearOff.h
+++ b/Source/WebCore/svg/properties/SVGAnimatedStaticPropertyTearOff.h
@@ -81,12 +81,6 @@ public:
ASSERT(m_animatedProperty);
m_animatedProperty = 0;
m_isAnimating = false;
-
- SVGElement* element = contextElement();
- if (!element || !element->inDocument() || !element->parentNode())
- return;
- ASSERT(!element->m_deletionHasBegun);
- element->svgAttributeChanged(attributeName());
}
void animValWillChange()
@@ -98,11 +92,9 @@ public:
void animValDidChange()
{
+ // no-op for non list types.
ASSERT(m_isAnimating);
ASSERT(m_animatedProperty);
-
- ASSERT(contextElement());
- contextElement()->svgAttributeChanged(attributeName());
}
protected: