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

Unified Diff: Source/core/animation/AnimationPlayerTest.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.idl ('k') | Source/core/animation/AnimationSource.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/animation/AnimationPlayerTest.cpp
diff --git a/Source/core/animation/AnimationPlayerTest.cpp b/Source/core/animation/AnimationPlayerTest.cpp
index 7ae197c77126932cd4de6d75ee92aa7170395277..39877f88a14a55b690e9ce8cfd223fea31ac5837 100644
--- a/Source/core/animation/AnimationPlayerTest.cpp
+++ b/Source/core/animation/AnimationPlayerTest.cpp
@@ -560,8 +560,8 @@ TEST_F(AnimationAnimationPlayerTest, SetSource)
{
player = timeline->createAnimationPlayer(0);
player->setStartTimeInternal(0);
- RefPtrWillBeRawPtr<TimedItem> source1 = makeAnimation();
- RefPtrWillBeRawPtr<TimedItem> source2 = makeAnimation();
+ RefPtrWillBeRawPtr<AnimationSource> source1 = makeAnimation();
+ RefPtrWillBeRawPtr<AnimationSource> source2 = makeAnimation();
player->setSource(source1.get());
EXPECT_EQ(source1, player->source());
EXPECT_EQ(0, player->currentTimeInternal());
@@ -606,10 +606,10 @@ TEST_F(AnimationAnimationPlayerTest, EmptyAnimationPlayersDontUpdateEffects)
TEST_F(AnimationAnimationPlayerTest, AnimationPlayersDisassociateFromSource)
{
- TimedItem* timedItem = player->source();
- AnimationPlayer* player2 = timeline->createAnimationPlayer(timedItem);
+ AnimationSource* animationSource = player->source();
+ AnimationPlayer* player2 = timeline->createAnimationPlayer(animationSource);
EXPECT_EQ(0, player->source());
- player->setSource(timedItem);
+ player->setSource(animationSource);
EXPECT_EQ(0, player2->source());
}
« no previous file with comments | « Source/core/animation/AnimationPlayer.idl ('k') | Source/core/animation/AnimationSource.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698