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 f4c0c6b474a3e2c41d74f2f825f6c004e4905048..6113bd411955d19eb68eff06e979d046807bcee1 100644 |
--- a/cc/trees/layer_tree_host_impl_unittest.cc |
+++ b/cc/trees/layer_tree_host_impl_unittest.cc |
@@ -1780,7 +1780,7 @@ TEST_F(LayerTreeHostImplTest, ScrollNonScrollableRootWithTopControls) { |
host_impl_->active_tree()->FindRootScrollLayer(); |
DrawFrame(); |
- EXPECT_EQ(InputHandler::ScrollIgnored, |
+ EXPECT_EQ(InputHandler::ScrollStarted, |
host_impl_->ScrollBegin(gfx::Point(), InputHandler::Gesture)); |
host_impl_->top_controls_manager()->ScrollBegin(); |
@@ -1788,6 +1788,8 @@ TEST_F(LayerTreeHostImplTest, ScrollNonScrollableRootWithTopControls) { |
host_impl_->top_controls_manager()->ScrollEnd(); |
EXPECT_EQ(host_impl_->top_controls_manager()->content_top_offset(), 0.f); |
+ host_impl_->ScrollEnd(); |
+ |
EXPECT_EQ(InputHandler::ScrollStarted, |
host_impl_->ScrollBegin(gfx::Point(), |
InputHandler::Gesture)); |
@@ -2722,7 +2724,6 @@ TEST_F(LayerTreeHostImplTest, OverscrollChildEventBubbling) { |
TEST_F(LayerTreeHostImplTest, OverscrollAlways) { |
LayerTreeSettings settings; |
- settings.always_overscroll = true; |
CreateHostImpl(settings, CreateOutputSurface()); |
SetupScrollAndContentsLayers(gfx::Size(50, 50)); |