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

Unified Diff: Source/core/animation/ActiveAnimations.cpp

Issue 225073004: Oilpan: Completely move core/animations/ to oilpan's heap (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: 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
« no previous file with comments | « Source/core/animation/ActiveAnimations.h ('k') | Source/core/animation/Animation.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/animation/ActiveAnimations.cpp
diff --git a/Source/core/animation/ActiveAnimations.cpp b/Source/core/animation/ActiveAnimations.cpp
index 350988515ec75ff127c7ad15457bd0dc120e5d1a..8743e5c4c8b1d95786a2a4e497b25684981b0e3c 100644
--- a/Source/core/animation/ActiveAnimations.cpp
+++ b/Source/core/animation/ActiveAnimations.cpp
@@ -37,9 +37,11 @@ namespace WebCore {
ActiveAnimations::~ActiveAnimations()
{
+#if !ENABLE(OILPAN)
for (size_t i = 0; i < m_animations.size(); ++i)
m_animations[i]->notifyElementDestroyed();
m_animations.clear();
+#endif
}
void ActiveAnimations::addPlayer(AnimationPlayer* player)
@@ -92,9 +94,8 @@ void ActiveAnimations::cancelAnimationOnCompositor()
void ActiveAnimations::trace(Visitor* visitor)
{
visitor->trace(m_cssAnimations);
-#if ENABLE(OILPAN)
- visitor->trace(m_target);
-#endif
+ visitor->trace(m_defaultStack);
+ visitor->trace(m_players);
}
} // namespace WebCore
« no previous file with comments | « Source/core/animation/ActiveAnimations.h ('k') | Source/core/animation/Animation.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698