| Index: Source/core/svg/SVGAnimateElement.cpp
|
| diff --git a/Source/core/svg/SVGAnimateElement.cpp b/Source/core/svg/SVGAnimateElement.cpp
|
| index f356c68163e3033a649caee38ea6723ba545dbc9..4baee606355503c3403bc5bea27e6e60bc92fe47 100644
|
| --- a/Source/core/svg/SVGAnimateElement.cpp
|
| +++ b/Source/core/svg/SVGAnimateElement.cpp
|
| @@ -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 @@ PassRefPtr<SVGAnimateElement> SVGAnimateElement::create(const QualifiedName& tag
|
|
|
| SVGAnimateElement::~SVGAnimateElement()
|
| {
|
| - if (targetElement())
|
| - clearAnimatedType(targetElement());
|
| }
|
|
|
| bool SVGAnimateElement::hasValidAttributeType()
|
| @@ -214,10 +211,6 @@ void SVGAnimateElement::resetAnimatedType()
|
| 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));
|
|
|