Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1150)

Unified Diff: Source/core/svg/SVGAnimateElement.cpp

Issue 25164005: Merge 158408 "Revert 157959 "Introduce a new reference graph to ..." (Closed) Base URL: svn://svn.chromium.org/blink/branches/chromium/1650/
Patch Set: Created 7 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/bindings/scripts/code_generator_v8.pm ('k') | Source/core/svg/SVGAnimateMotionElement.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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));
« no previous file with comments | « Source/bindings/scripts/code_generator_v8.pm ('k') | Source/core/svg/SVGAnimateMotionElement.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698