Index: cc/trees/layer_tree_host_impl_unittest.cc |
diff --git a/cc/trees/layer_tree_host_impl_unittest.cc b/cc/trees/layer_tree_host_impl_unittest.cc |
index 1dc1fb9fd4e07a1f2b001a1910f18b83b6a365de..f47b3d7aee1d9c7791b3395f15b2325a509449eb 100644 |
--- a/cc/trees/layer_tree_host_impl_unittest.cc |
+++ b/cc/trees/layer_tree_host_impl_unittest.cc |
@@ -1074,16 +1074,16 @@ TEST_F(LayerTreeHostImplTest, PageScaleAnimation) { |
host_impl_->StartPageScaleAnimation(gfx::Vector2d(), false, 2.f, duration); |
did_request_redraw_ = false; |
- host_impl_->Animate(start_time, base::Time()); |
+ host_impl_->Animate(start_time); |
EXPECT_TRUE(did_request_redraw_); |
did_request_redraw_ = false; |
- host_impl_->Animate(halfway_through_animation, base::Time()); |
+ host_impl_->Animate(halfway_through_animation); |
EXPECT_TRUE(did_request_redraw_); |
did_request_redraw_ = false; |
did_request_commit_ = false; |
- host_impl_->Animate(end_time, base::Time()); |
+ host_impl_->Animate(end_time); |
EXPECT_TRUE(did_request_commit_); |
scoped_ptr<ScrollAndScaleSet> scroll_info = |
@@ -1102,12 +1102,12 @@ TEST_F(LayerTreeHostImplTest, PageScaleAnimation) { |
host_impl_->StartPageScaleAnimation( |
gfx::Vector2d(25, 25), true, min_page_scale, duration); |
did_request_redraw_ = false; |
- host_impl_->Animate(start_time, base::Time()); |
+ host_impl_->Animate(start_time); |
EXPECT_TRUE(did_request_redraw_); |
did_request_redraw_ = false; |
did_request_commit_ = false; |
- host_impl_->Animate(end_time, base::Time()); |
+ host_impl_->Animate(end_time); |
EXPECT_TRUE(did_request_redraw_); |
EXPECT_TRUE(did_request_commit_); |
@@ -1143,10 +1143,10 @@ TEST_F(LayerTreeHostImplTest, PageScaleAnimationNoOp) { |
scroll_layer->SetScrollOffset(gfx::Vector2d(50, 50)); |
host_impl_->StartPageScaleAnimation(gfx::Vector2d(), true, 1.f, duration); |
- host_impl_->Animate(start_time, base::Time()); |
- host_impl_->Animate(halfway_through_animation, base::Time()); |
+ host_impl_->Animate(start_time); |
+ host_impl_->Animate(halfway_through_animation); |
EXPECT_TRUE(did_request_redraw_); |
- host_impl_->Animate(end_time, base::Time()); |
+ host_impl_->Animate(end_time); |
EXPECT_TRUE(did_request_commit_); |
scoped_ptr<ScrollAndScaleSet> scroll_info = |
@@ -5989,7 +5989,7 @@ const int LayerTreeHostImplWithTopControlsTest::top_controls_height_ = 50; |
TEST_F(LayerTreeHostImplWithTopControlsTest, NoIdleAnimations) { |
SetupScrollAndContentsLayers(gfx::Size(100, 100)) |
->SetScrollOffset(gfx::Vector2d(0, 10)); |
- host_impl_->Animate(base::TimeTicks(), base::Time()); |
+ host_impl_->Animate(base::TimeTicks()); |
EXPECT_FALSE(did_request_redraw_); |
} |