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

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

Issue 1080523002: Oilpan: adjust AnimationTimeline finalization. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 8 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/AnimationPlayer.h ('k') | Source/core/animation/AnimationTimeline.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
« no previous file with comments | « Source/core/animation/AnimationPlayer.h ('k') | Source/core/animation/AnimationTimeline.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698