Index: cc/layers/layer_unittest.cc |
diff --git a/cc/layers/layer_unittest.cc b/cc/layers/layer_unittest.cc |
index 5b48056b2fa26ae5a94d8e8b61316df4fb665151..464854860b59ffefe2116f17ffc2a0093e17fcc9 100644 |
--- a/cc/layers/layer_unittest.cc |
+++ b/cc/layers/layer_unittest.cc |
@@ -134,8 +134,6 @@ class LayerSerializationTest : public testing::Test { |
EXPECT_EQ(src->masks_to_bounds_, dest->masks_to_bounds_); |
EXPECT_EQ(src->main_thread_scrolling_reasons_, |
dest->main_thread_scrolling_reasons_); |
- EXPECT_EQ(src->have_wheel_event_handlers_, |
- dest->have_wheel_event_handlers_); |
EXPECT_EQ(src->have_scroll_event_handlers_, |
dest->have_scroll_event_handlers_); |
EXPECT_EQ(src->non_fast_scrollable_region_, |
@@ -252,7 +250,6 @@ class LayerSerializationTest : public testing::Test { |
layer->masks_to_bounds_ = true; |
layer->main_thread_scrolling_reasons_ = |
MainThreadScrollingReason::kNotScrollingOnMain; |
- layer->have_wheel_event_handlers_ = true; |
layer->have_scroll_event_handlers_ = false; |
layer->non_fast_scrollable_region_ = Region(gfx::Rect(5, 1, 14, 3)); |
layer->touch_event_handler_region_ = Region(gfx::Rect(3, 14, 1, 5)); |
@@ -303,7 +300,6 @@ class LayerSerializationTest : public testing::Test { |
layer->masks_to_bounds_ = !layer->masks_to_bounds_; |
layer->main_thread_scrolling_reasons_ = |
MainThreadScrollingReason::kHasBackgroundAttachmentFixedObjects; |
- layer->have_wheel_event_handlers_ = !layer->have_wheel_event_handlers_; |
layer->have_scroll_event_handlers_ = !layer->have_scroll_event_handlers_; |
layer->non_fast_scrollable_region_ = Region(gfx::Rect(5, 1, 14, 3)); |
layer->touch_event_handler_region_ = Region(gfx::Rect(3, 14, 1, 5)); |
@@ -973,7 +969,6 @@ TEST_F(LayerTest, CheckPropertyChangeCausesCorrectBehavior) { |
MainThreadScrollingReason::kEventHandlers)); |
EXPECT_SET_NEEDS_COMMIT(1, test_layer->SetNonFastScrollableRegion( |
Region(gfx::Rect(1, 1, 2, 2)))); |
- EXPECT_SET_NEEDS_COMMIT(1, test_layer->SetHaveWheelEventHandlers(true)); |
EXPECT_SET_NEEDS_COMMIT(1, test_layer->SetHaveScrollEventHandlers(true)); |
EXPECT_SET_NEEDS_COMMIT(1, test_layer->SetTransform( |
gfx::Transform(0.0, 0.0, 0.0, 0.0, 0.0, 0.0))); |