Index: cc/trees/layer_tree_host_common.cc |
diff --git a/cc/trees/layer_tree_host_common.cc b/cc/trees/layer_tree_host_common.cc |
index 76c91a0ca1989dd1a5bf09e384f18ba1fed1681c..e82e7d83d64c551535e62ff449f4738fcd6f56f2 100644 |
--- a/cc/trees/layer_tree_host_common.cc |
+++ b/cc/trees/layer_tree_host_common.cc |
@@ -1129,7 +1129,7 @@ static void PreCalculateMetaInformationInternal( |
recursive_data->num_layer_or_descendants_with_copy_request++; |
if (!layer->touch_event_handler_region().IsEmpty() || |
- layer->have_wheel_event_handlers()) |
+ layer->wheel_event_properties() != EventListenerProperties::kNone) |
recursive_data->num_layer_or_descendants_with_input_handler++; |
layer->set_num_unclipped_descendants( |
@@ -1177,7 +1177,7 @@ static void PreCalculateMetaInformationInternal( |
recursive_data->num_layer_or_descendants_with_copy_request++; |
if (!layer->touch_event_handler_region().IsEmpty() || |
- layer->have_wheel_event_handlers()) |
+ layer->wheel_event_properties() != EventListenerProperties::kNone) |
recursive_data->num_layer_or_descendants_with_input_handler++; |
layer->draw_properties().num_unclipped_descendants = |