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

Unified Diff: cc/test/animation_timelines_test_common.cc

Issue 1584743002: CC Animation: Replace AnimiationEventsVector with AnimiationEvents class. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase. Created 4 years, 11 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 | « cc/layers/layer.cc ('k') | cc/test/fake_channel_impl.h » ('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 1d0d4896c87d94dd6b31571a1a49001a47fed28d..46d9d53e0db73380e4950ace8555cfb44a96564f 100644
--- a/cc/test/animation_timelines_test_common.cc
+++ b/cc/test/animation_timelines_test_common.cc
@@ -235,12 +235,12 @@ void AnimationTimelinesTest::ReleaseRefPtrs() {
void AnimationTimelinesTest::AnimateLayersTransferEvents(
base::TimeTicks time,
unsigned expect_events) {
- scoped_ptr<AnimationEventsVector> events =
+ scoped_ptr<AnimationEvents> events =
host_->animation_registrar()->CreateEvents();
host_impl_->animation_registrar()->AnimateLayers(time);
host_impl_->animation_registrar()->UpdateAnimationState(true, events.get());
- EXPECT_EQ(expect_events, events->size());
+ EXPECT_EQ(expect_events, events->events_.size());
host_->animation_registrar()->AnimateLayers(time);
host_->animation_registrar()->UpdateAnimationState(true, nullptr);
« no previous file with comments | « cc/layers/layer.cc ('k') | cc/test/fake_channel_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698