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

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

Issue 265793017: Oilpan: move node/element rare data objects to the heap. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebased + add some asserts for registration Node being present. 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/dom/Document.cpp » ('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 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
« no previous file with comments | « Source/core/animation/ActiveAnimations.h ('k') | Source/core/dom/Document.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698