| 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 d90ce9970179b993d62b17c5faa0e0b5957a246d..1d116fe8cb178249611b23bec0909fb91d644304 100644
|
| --- a/cc/trees/layer_tree_host_impl_unittest.cc
|
| +++ b/cc/trees/layer_tree_host_impl_unittest.cc
|
| @@ -10826,12 +10826,14 @@ TEST_F(LayerTreeHostImplTest, SecondScrollAnimatedBeginNotIgnored) {
|
| const gfx::Size viewport_size(50, 100);
|
| CreateBasicVirtualViewportLayers(viewport_size, content_size);
|
|
|
| - EXPECT_EQ(InputHandler::SCROLL_ON_IMPL_THREAD,
|
| - host_impl_->ScrollAnimatedBegin(gfx::Point()).thread);
|
| + EXPECT_EQ(
|
| + InputHandler::SCROLL_ON_IMPL_THREAD,
|
| + host_impl_->ScrollAnimatedBegin(BeginState(gfx::Point()).get()).thread);
|
|
|
| // The second ScrollAnimatedBegin should not get ignored.
|
| - EXPECT_EQ(InputHandler::SCROLL_ON_IMPL_THREAD,
|
| - host_impl_->ScrollAnimatedBegin(gfx::Point()).thread);
|
| + EXPECT_EQ(
|
| + InputHandler::SCROLL_ON_IMPL_THREAD,
|
| + host_impl_->ScrollAnimatedBegin(BeginState(gfx::Point()).get()).thread);
|
| }
|
|
|
| // Verfify that a smooth scroll animation doesn't jump when UpdateTarget gets
|
|
|