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

Unified Diff: cc/animation/animation_host_unittest.cc

Issue 1950243005: Communicate MT changes to impl-only scroll offset animations (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: address review comments Created 4 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
Index: cc/animation/animation_host_unittest.cc
diff --git a/cc/animation/animation_host_unittest.cc b/cc/animation/animation_host_unittest.cc
index aa477bfeb70e138e90907195185cb1a934ff393d..e16c82a025d6fdf051f53a2acca18651cd093970 100644
--- a/cc/animation/animation_host_unittest.cc
+++ b/cc/animation/animation_host_unittest.cc
@@ -37,20 +37,20 @@ TEST_F(AnimationHostTest, SyncTimelinesAddRemove) {
EXPECT_FALSE(host_impl->GetTimelineById(timeline_id));
- host->PushPropertiesTo(host_impl.get());
+ host->PushPropertiesTo(host_impl.get(), base::TimeTicks());
scoped_refptr<AnimationTimeline> timeline_impl =
host_impl->GetTimelineById(timeline_id);
EXPECT_TRUE(timeline_impl);
EXPECT_EQ(timeline_impl->id(), timeline_id);
- host->PushPropertiesTo(host_impl.get());
+ host->PushPropertiesTo(host_impl.get(), base::TimeTicks());
EXPECT_EQ(timeline_impl, host_impl->GetTimelineById(timeline_id));
host->RemoveAnimationTimeline(timeline.get());
EXPECT_FALSE(timeline->animation_host());
- host->PushPropertiesTo(host_impl.get());
+ host->PushPropertiesTo(host_impl.get(), base::TimeTicks());
EXPECT_FALSE(host_impl->GetTimelineById(timeline_id));
EXPECT_FALSE(timeline_impl->animation_host());
@@ -74,7 +74,7 @@ TEST_F(AnimationHostTest, ImplOnlyTimeline) {
host->AddAnimationTimeline(timeline.get());
host_impl->AddAnimationTimeline(timeline_impl.get());
- host->PushPropertiesTo(host_impl.get());
+ host->PushPropertiesTo(host_impl.get(), base::TimeTicks());
EXPECT_TRUE(host->GetTimelineById(timeline_id1));
EXPECT_TRUE(host_impl->GetTimelineById(timeline_id2));

Powered by Google App Engine
This is Rietveld 408576698