Index: Source/core/animation/AnimationPlayer.cpp |
diff --git a/Source/core/animation/AnimationPlayer.cpp b/Source/core/animation/AnimationPlayer.cpp |
index c08c186868ee450c9e0024c6ef4a6115c7139d77..a9e254463ec914de944d15aa29b9d92a14e05526 100644 |
--- a/Source/core/animation/AnimationPlayer.cpp |
+++ b/Source/core/animation/AnimationPlayer.cpp |
@@ -117,6 +117,14 @@ AnimationPlayer::~AnimationPlayer() |
destroyCompositorPlayer(); |
} |
+#if !ENABLE(OILPAN) |
+void AnimationPlayer::detachFromTimeline() |
+{ |
+ dispose(); |
+ m_timeline = nullptr; |
+} |
+#endif |
+ |
double AnimationPlayer::sourceEnd() const |
{ |
return m_content ? m_content->endTimeInternal() : 0; |