Index: Source/core/animation/ActiveAnimations.cpp |
diff --git a/Source/core/animation/ActiveAnimations.cpp b/Source/core/animation/ActiveAnimations.cpp |
index e12cbdc26732e31aa527966ced5c035f7291af91..350988515ec75ff127c7ad15457bd0dc120e5d1a 100644 |
--- a/Source/core/animation/ActiveAnimations.cpp |
+++ b/Source/core/animation/ActiveAnimations.cpp |
@@ -37,10 +37,6 @@ namespace WebCore { |
ActiveAnimations::~ActiveAnimations() |
{ |
-} |
- |
-void ActiveAnimations::dispose() |
-{ |
for (size_t i = 0; i < m_animations.size(); ++i) |
m_animations[i]->notifyElementDestroyed(); |
m_animations.clear(); |
@@ -96,6 +92,9 @@ void ActiveAnimations::cancelAnimationOnCompositor() |
void ActiveAnimations::trace(Visitor* visitor) |
{ |
visitor->trace(m_cssAnimations); |
+#if ENABLE(OILPAN) |
+ visitor->trace(m_target); |
+#endif |
} |
} // namespace WebCore |