Index: Source/core/animation/ElementAnimations.cpp |
diff --git a/Source/core/animation/ElementAnimations.cpp b/Source/core/animation/ElementAnimations.cpp |
index ec24307de18ffad33d6c2646facc577c468c556a..9124dc603f8cc824a0472eb3fccb25c9c9330e58 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) |
@@ -90,11 +85,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 |