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

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

Issue 284323004: Web Animations: Make AnimationPlayer an ActiveDOMObject (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Address comments. Created 6 years, 7 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
Index: Source/core/animation/AnimationTimeline.cpp
diff --git a/Source/core/animation/AnimationTimeline.cpp b/Source/core/animation/AnimationTimeline.cpp
index bfcbc10391e0d9cd5d3028bdd73338dd251d00ef..c415fb83f1502874d485c158fb32ecac823ac26b 100644
--- a/Source/core/animation/AnimationTimeline.cpp
+++ b/Source/core/animation/AnimationTimeline.cpp
@@ -71,7 +71,7 @@ AnimationTimeline::~AnimationTimeline()
AnimationPlayer* AnimationTimeline::createAnimationPlayer(AnimationSource* child)
{
- RefPtrWillBeRawPtr<AnimationPlayer> player = AnimationPlayer::create(*this, child);
+ RefPtrWillBeRawPtr<AnimationPlayer> player = AnimationPlayer::create(*m_document->contextDocument().get(), *this, child);
AnimationPlayer* result = player.get();
m_players.add(result);
setOutdatedAnimationPlayer(result);
« Source/core/animation/AnimationPlayer.cpp ('K') | « Source/core/animation/AnimationPlayer.idl ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698