| Index: Source/core/svg/SVGAnimateElement.cpp
|
| ===================================================================
|
| --- Source/core/svg/SVGAnimateElement.cpp (revision 158536)
|
| +++ Source/core/svg/SVGAnimateElement.cpp (working copy)
|
| @@ -32,7 +32,6 @@
|
| #include "core/svg/SVGAnimatedType.h"
|
| #include "core/svg/SVGAnimatedTypeAnimator.h"
|
| #include "core/svg/SVGAnimatorFactory.h"
|
| -#include "core/svg/SVGDocumentExtensions.h"
|
|
|
| namespace WebCore {
|
|
|
| @@ -51,8 +50,6 @@
|
|
|
| SVGAnimateElement::~SVGAnimateElement()
|
| {
|
| - if (targetElement())
|
| - clearAnimatedType(targetElement());
|
| }
|
|
|
| bool SVGAnimateElement::hasValidAttributeType()
|
| @@ -214,10 +211,6 @@
|
| if (shouldApply == ApplyXMLAnimation) {
|
| // SVG DOM animVal animation code-path.
|
| m_animatedProperties = animator->findAnimatedPropertiesForAttributeName(targetElement, attributeName);
|
| - SVGElementAnimatedPropertyList::const_iterator end = m_animatedProperties.end();
|
| - for (SVGElementAnimatedPropertyList::const_iterator it = m_animatedProperties.begin(); it != end; ++it)
|
| - document().accessSVGExtensions()->addElementReferencingTarget(this, it->element);
|
| -
|
| ASSERT(!m_animatedProperties.isEmpty());
|
|
|
| ASSERT(propertyTypesAreConsistent(m_animatedPropertyType, m_animatedProperties));
|
|
|