Index: Source/core/animation/ElementAnimations.cpp |
diff --git a/Source/core/animation/ElementAnimations.cpp b/Source/core/animation/ElementAnimations.cpp |
index 86bee848ef2f11d7dbad838d16f62034caf42ed1..91b11b78b9deeec993a520372e8c9ec6d5a4b20f 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) |
@@ -83,11 +78,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 |