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

Unified Diff: cc/test/layer_test_common.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/test/layer_test_common.cc
diff --git a/cc/test/layer_test_common.cc b/cc/test/layer_test_common.cc
index 4ba0927d230b2e1fc013c756d83fbee2c3d756b4..51d4fedf4805431bd37e7428740ee61acccbd285 100644
--- a/cc/test/layer_test_common.cc
+++ b/cc/test/layer_test_common.cc
@@ -137,7 +137,8 @@ LayerTestCommon::LayerImplTest::LayerImplTest(const LayerTreeSettings& settings)
host_->animation_host()->AddAnimationTimeline(timeline_);
// Create impl-side instance.
host_->animation_host()->PushPropertiesTo(
- host_->host_impl()->animation_host());
+ host_->host_impl()->animation_host(),
+ host_->host_impl()->CurrentBeginFrameArgs().frame_time);
timeline_impl_ =
host_->host_impl()->animation_host()->GetTimelineById(timeline_id);
}

Powered by Google App Engine
This is Rietveld 408576698