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

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

Issue 262093006: Oilpan: Make the Node hierarchy RefCountedGarbageCollected instead of TreeShared. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Another build fix. Created 6 years, 7 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/SVGAnimateMotionElement.cpp
diff --git a/Source/core/svg/SVGAnimateMotionElement.cpp b/Source/core/svg/SVGAnimateMotionElement.cpp
index b3c07da51c386001385186e964684d555207eb25..41df77f601cadc123421f3861142c081abf47e85 100644
--- a/Source/core/svg/SVGAnimateMotionElement.cpp
+++ b/Source/core/svg/SVGAnimateMotionElement.cpp
@@ -50,8 +50,10 @@ inline SVGAnimateMotionElement::SVGAnimateMotionElement(Document& document)
SVGAnimateMotionElement::~SVGAnimateMotionElement()
{
+#if !ENABLE(OILPAN)
if (targetElement())
clearAnimatedType(targetElement());
+#endif
}
PassRefPtr<SVGAnimateMotionElement> SVGAnimateMotionElement::create(Document& document)

Powered by Google App Engine
This is Rietveld 408576698