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

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: Fix windows compilation with MSVC. 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
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 6df5bd18ea56bc5e1e6f1dc0c1d91585e33835b9..44b64500965d3a593736762acdae611a17bcd0da 100644
--- a/cc/test/animation_timelines_test_common.cc
+++ b/cc/test/animation_timelines_test_common.cc
@@ -234,12 +234,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);

Powered by Google App Engine
This is Rietveld 408576698