Index: third_party/WebKit/Source/core/svg/SVGAnimateElement.cpp |
diff --git a/third_party/WebKit/Source/core/svg/SVGAnimateElement.cpp b/third_party/WebKit/Source/core/svg/SVGAnimateElement.cpp |
index 7fe46f132f058e2a40b1f68ff7a2f79db7e2dcc9..ecd0090b434d33534dfbabe94012931a44131329 100644 |
--- a/third_party/WebKit/Source/core/svg/SVGAnimateElement.cpp |
+++ b/third_party/WebKit/Source/core/svg/SVGAnimateElement.cpp |
@@ -182,12 +182,6 @@ void SVGAnimateElement::resetAnimatedType() |
return; |
if (shouldApply == ApplyXMLAnimation || shouldApply == ApplyXMLandCSSAnimation) { |
// SVG DOM animVal animation code-path. |
- SVGElementInstances animatedElements = findElementInstances(targetElement); |
- ASSERT(!animatedElements.isEmpty()); |
- |
- for (SVGElement* element : animatedElements) |
- addReferenceTo(element); |
- |
m_animatedProperty = m_animator.createAnimatedValue(); |
targetElement->setAnimatedAttribute(attributeName, m_animatedProperty); |
return; |