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

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

Issue 327463002: SVG: no need to call |clearAnimatedType| at SVGAnimate{,Motion}Element dtor. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: address comments Created 6 years, 6 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
Index: Source/core/svg/SVGAnimateElement.cpp
diff --git a/Source/core/svg/SVGAnimateElement.cpp b/Source/core/svg/SVGAnimateElement.cpp
index c8fdc016eb22a24293dae09e66dc818b188c77cf..3b9cb86b69ded20e57f4ef10a954a5c247d0046b 100644
--- a/Source/core/svg/SVGAnimateElement.cpp
+++ b/Source/core/svg/SVGAnimateElement.cpp
@@ -47,11 +47,6 @@ PassRefPtrWillBeRawPtr<SVGAnimateElement> SVGAnimateElement::create(Document& do
SVGAnimateElement::~SVGAnimateElement()
{
- // FIXME: Oilpan: Below prevent stopAnimValAnimation being called on |targetElement|. This should be moved to |removeFrom| equivalent.
-#if !ENABLE(OILPAN)
- if (targetElement())
- clearAnimatedType(targetElement());
-#endif
}
AnimatedPropertyType SVGAnimateElement::animatedPropertyType()
« no previous file with comments | « LayoutTests/svg/animations/animate-teardown-expected.txt ('k') | Source/core/svg/SVGAnimateMotionElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698