Index: Source/core/animation/AnimationTimeline.cpp |
diff --git a/Source/core/animation/AnimationTimeline.cpp b/Source/core/animation/AnimationTimeline.cpp |
index 62b736ec6f2c7316b00c66d3dedac1f1a9202594..7bda76bd069f1ae21f9dd300fc3b2429030a26db 100644 |
--- a/Source/core/animation/AnimationTimeline.cpp |
+++ b/Source/core/animation/AnimationTimeline.cpp |
@@ -84,12 +84,9 @@ AnimationTimeline::AnimationTimeline(Document* document, PassOwnPtrWillBeRawPtr< |
AnimationTimeline::~AnimationTimeline() |
{ |
- for (const auto& player : m_players) |
- player->dispose(); |
- |
#if !ENABLE(OILPAN) |
for (const auto& player : m_players) |
- player->timelineDestroyed(); |
+ player->detachFromTimeline(); |
#endif |
} |