Index: cc/debug/debug_rect_history.cc |
diff --git a/cc/debug/debug_rect_history.cc b/cc/debug/debug_rect_history.cc |
index 53381cfd207f4bdf16d101cf26056c11afbfe9c9..b936e8736c468979f7a7d8784eb61e1c905a5839 100644 |
--- a/cc/debug/debug_rect_history.cc |
+++ b/cc/debug/debug_rect_history.cc |
@@ -179,8 +179,7 @@ void DebugRectHistory::SaveWheelEventHandlerRects(LayerImpl* root_layer) { |
root_layer->layer_tree_impl()->event_listener_properties( |
EventListenerClass::kMouseWheel); |
if (event_properties == EventListenerProperties::kNone || |
- (root_layer->layer_tree_impl()->settings().use_mouse_wheel_gestures && |
- event_properties == EventListenerProperties::kPassive)) { |
+ event_properties == EventListenerProperties::kPassive) { |
return; |
} |