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

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

Issue 293893003: Web Animations: Rename TimedItem to AnimationSource (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Update expectations. 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
« no previous file with comments | « Source/core/animation/AnimationPlayer.h ('k') | Source/core/animation/AnimationPlayer.idl » ('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 2e4edada4572df7933c9546366d0b5736623374d..4fa0bf6b782bfe7614c698f3c4b6aa57f9e88a5d 100644
--- a/Source/core/animation/AnimationPlayer.cpp
+++ b/Source/core/animation/AnimationPlayer.cpp
@@ -48,12 +48,12 @@ static unsigned nextSequenceNumber()
}
-PassRefPtrWillBeRawPtr<AnimationPlayer> AnimationPlayer::create(AnimationTimeline& timeline, TimedItem* content)
+PassRefPtrWillBeRawPtr<AnimationPlayer> AnimationPlayer::create(AnimationTimeline& timeline, AnimationSource* content)
{
return adoptRefWillBeRefCountedGarbageCollected(new AnimationPlayer(timeline, content));
}
-AnimationPlayer::AnimationPlayer(AnimationTimeline& timeline, TimedItem* content)
+AnimationPlayer::AnimationPlayer(AnimationTimeline& timeline, AnimationSource* content)
: m_playbackRate(1)
, m_startTime(nullValue())
, m_holdTime(nullValue())
@@ -193,7 +193,7 @@ void AnimationPlayer::setStartTimeInternal(double newStartTime, bool isUpdateFro
}
}
-void AnimationPlayer::setSource(TimedItem* newSource)
+void AnimationPlayer::setSource(AnimationSource* newSource)
{
if (m_content == newSource)
return;
« no previous file with comments | « Source/core/animation/AnimationPlayer.h ('k') | Source/core/animation/AnimationPlayer.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698