| 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 d67e6e3e695a7bfc3e5c9edc59f8ba3f827f7aee..eab2ff1dfcff261ddc985af5da2dec484b00031e 100644
|
| --- a/cc/trees/layer_tree_host_impl_unittest.cc
|
| +++ b/cc/trees/layer_tree_host_impl_unittest.cc
|
| @@ -725,6 +725,15 @@ TEST_F(LayerTreeHostImplTest, ScrollBlocksOnWheelEventHandlers) {
|
| EXPECT_EQ(MainThreadScrollingReason::kEventHandlers,
|
| status.main_thread_scrolling_reasons);
|
|
|
| + host_impl_->active_tree()->set_event_listener_properties(
|
| + EventListenerClass::kMouseWheel,
|
| + EventListenerProperties::kBlockingAndPassive);
|
| + status = host_impl_->ScrollBegin(BeginState(gfx::Point()).get(),
|
| + InputHandler::WHEEL);
|
| + EXPECT_EQ(InputHandler::SCROLL_ON_MAIN_THREAD, status.thread);
|
| + EXPECT_EQ(MainThreadScrollingReason::kEventHandlers,
|
| + status.main_thread_scrolling_reasons);
|
| +
|
| // But gesture scrolls can still be handled.
|
| status = host_impl_->ScrollBegin(BeginState(gfx::Point()).get(),
|
| InputHandler::GESTURE);
|
|
|