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

Unified Diff: Source/core/svg/animation/SVGSMILElement.cpp

Issue 304453002: Prepare SMILTimeContainer for oilpan (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: fix_compile2 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/animation/SVGSMILElement.cpp
diff --git a/Source/core/svg/animation/SVGSMILElement.cpp b/Source/core/svg/animation/SVGSMILElement.cpp
index a97bc50d29b62d72b57d37142800813dfc989bbc..54f5c5a45a9113cbbe931808d0aca72a20846060 100644
--- a/Source/core/svg/animation/SVGSMILElement.cpp
+++ b/Source/core/svg/animation/SVGSMILElement.cpp
@@ -205,7 +205,9 @@ SVGSMILElement::~SVGSMILElement()
smilRepeatEventSender().cancelEvent(this);
smilRepeatNEventSender().cancelEvent(this);
#if !ENABLE(OILPAN)
+ // FIXME: Oilpan: Clear |m_syncBaseDependents| using weak processing.
clearConditions();
+
if (m_timeContainer && m_targetElement && hasValidAttributeName())
m_timeContainer->unschedule(this, m_targetElement, m_attributeName);
#endif
@@ -1349,6 +1351,7 @@ void SVGSMILElement::Condition::trace(Visitor* visitor)
void SVGSMILElement::trace(Visitor* visitor)
{
visitor->trace(m_targetElement);
+ visitor->trace(m_timeContainer);
visitor->trace(m_conditions);
visitor->trace(m_syncBaseDependents);
SVGElement::trace(visitor);
« Source/core/svg/animation/SMILTimeContainer.cpp ('K') | « Source/core/svg/animation/SVGSMILElement.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698