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

Unified Diff: cc/test/animation_timelines_test_common.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/test/animation_timelines_test_common.h ('k') | cc/test/layer_tree_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/test/animation_timelines_test_common.cc
diff --git a/cc/test/animation_timelines_test_common.cc b/cc/test/animation_timelines_test_common.cc
index 52c3bd73c4e83d9813242856daaa9194dbd9820d..d6c2890006e090c80984ad26fa0094cd9d0288ea 100644
--- a/cc/test/animation_timelines_test_common.cc
+++ b/cc/test/animation_timelines_test_common.cc
@@ -424,18 +424,18 @@ void AnimationTimelinesTest::ReleaseRefPtrs() {
timeline_impl_ = nullptr;
}
-void AnimationTimelinesTest::AnimateLayersTransferEvents(
+void AnimationTimelinesTest::TickAnimationsTransferEvents(
base::TimeTicks time,
unsigned expect_events) {
std::unique_ptr<MutatorEvents> events = host_->CreateEvents();
- host_impl_->AnimateLayers(time);
+ host_impl_->TickAnimations(time);
host_impl_->UpdateAnimationState(true, events.get());
auto animation_events = static_cast<const AnimationEvents*>(events.get());
EXPECT_EQ(expect_events, animation_events->events_.size());
- host_->AnimateLayers(time);
+ host_->TickAnimations(time);
host_->UpdateAnimationState(true, nullptr);
host_->SetAnimationEvents(std::move(events));
}
« no previous file with comments | « cc/test/animation_timelines_test_common.h ('k') | cc/test/layer_tree_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698