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

Unified Diff: cc/animation/animation_player_unittest.cc

Issue 2554773002: CC Animation: Rename Active Players to Ticking Players. (Closed)
Patch Set: Rename the argument. Created 4 years 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 | « cc/animation/animation_player.cc ('k') | cc/animation/element_animations.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/animation/animation_player_unittest.cc
diff --git a/cc/animation/animation_player_unittest.cc b/cc/animation/animation_player_unittest.cc
index c6d1a431aa024514752a13401ca13185fdeca713..4f234a0f1577c594f5e63bfae28ee171961ee44e 100644
--- a/cc/animation/animation_player_unittest.cc
+++ b/cc/animation/animation_player_unittest.cc
@@ -167,11 +167,11 @@ TEST_F(AnimationPlayerTest, PropertiesMutate) {
base::TimeTicks time;
time += base::TimeDelta::FromSecondsD(0.1);
- AnimateLayersTransferEvents(time, 3u);
+ TickAnimationsTransferEvents(time, 3u);
EXPECT_TRUE(CheckPlayerTimelineNeedsPushProperties(false));
time += base::TimeDelta::FromSecondsD(duration);
- AnimateLayersTransferEvents(time, 3u);
+ TickAnimationsTransferEvents(time, 3u);
EXPECT_TRUE(CheckPlayerTimelineNeedsPushProperties(false));
client_.ExpectOpacityPropertyMutated(element_id_, ElementListType::ACTIVE,
@@ -248,7 +248,7 @@ TEST_F(AnimationPlayerTest, AttachTwoPlayersToOneLayer) {
base::TimeTicks time;
time += base::TimeDelta::FromSecondsD(0.1);
- AnimateLayersTransferEvents(time, 2u);
+ TickAnimationsTransferEvents(time, 2u);
EXPECT_TRUE(delegate1.started());
EXPECT_FALSE(delegate1.finished());
@@ -260,7 +260,7 @@ TEST_F(AnimationPlayerTest, AttachTwoPlayersToOneLayer) {
EXPECT_FALSE(player2->needs_push_properties());
time += base::TimeDelta::FromSecondsD(duration);
- AnimateLayersTransferEvents(time, 2u);
+ TickAnimationsTransferEvents(time, 2u);
EXPECT_TRUE(delegate1.finished());
EXPECT_TRUE(delegate2.finished());
@@ -333,10 +333,10 @@ TEST_F(AnimationPlayerTest, AddRemoveAnimationToNonAttachedPlayer) {
base::TimeTicks time;
time += base::TimeDelta::FromSecondsD(0.1);
- AnimateLayersTransferEvents(time, 1u);
+ TickAnimationsTransferEvents(time, 1u);
time += base::TimeDelta::FromSecondsD(duration);
- AnimateLayersTransferEvents(time, 1u);
+ TickAnimationsTransferEvents(time, 1u);
client_.ExpectOpacityPropertyMutated(element_id_, ElementListType::ACTIVE,
end_opacity);
« no previous file with comments | « cc/animation/animation_player.cc ('k') | cc/animation/element_animations.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698