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

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

Issue 1120003002: [Oilpan] Migrate most classes under core/animations to Oilpan heap. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase Created 5 years, 4 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/ElementAnimations.h ('k') | Source/core/animation/FilterStyleInterpolation.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/animation/ElementAnimations.cpp
diff --git a/Source/core/animation/ElementAnimations.cpp b/Source/core/animation/ElementAnimations.cpp
index c11f5405e2d0589aed0b168bfa8eca0301639884..0d48937c649e0ea2dbfa58930add0764f4365dbd 100644
--- a/Source/core/animation/ElementAnimations.cpp
+++ b/Source/core/animation/ElementAnimations.cpp
@@ -42,11 +42,6 @@ ElementAnimations::ElementAnimations()
ElementAnimations::~ElementAnimations()
{
-#if !ENABLE(OILPAN)
- for (KeyframeEffect* effect : m_effects)
- effect->notifyElementDestroyed();
- m_effects.clear();
-#endif
}
void ElementAnimations::updateAnimationFlags(ComputedStyle& style)
@@ -86,11 +81,9 @@ void ElementAnimations::restartAnimationOnCompositor()
DEFINE_TRACE(ElementAnimations)
{
-#if ENABLE(OILPAN)
visitor->trace(m_cssAnimations);
visitor->trace(m_defaultStack);
visitor->trace(m_animations);
-#endif
}
const ComputedStyle* ElementAnimations::baseComputedStyle() const
« no previous file with comments | « Source/core/animation/ElementAnimations.h ('k') | Source/core/animation/FilterStyleInterpolation.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698