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..06a92ed2f53140105019a08ebb21d98fd04db3e7 100644 |
--- a/cc/trees/layer_tree_host_common.cc |
+++ b/cc/trees/layer_tree_host_common.cc |
@@ -1128,8 +1128,7 @@ static void PreCalculateMetaInformationInternal( |
if (layer->HasCopyRequest()) |
recursive_data->num_layer_or_descendants_with_copy_request++; |
- if (!layer->touch_event_handler_region().IsEmpty() || |
- layer->have_wheel_event_handlers()) |
+ if (!layer->touch_event_handler_region().IsEmpty()) |
recursive_data->num_layer_or_descendants_with_input_handler++; |
Rick Byers
2016/01/28 00:18:31
nit: rename this from "input_handlers" to "touch_h
dtapuska
2016/01/28 16:23:06
Done.
|
layer->set_num_unclipped_descendants( |
@@ -1176,8 +1175,7 @@ static void PreCalculateMetaInformationInternal( |
if (layer->HasCopyRequest()) |
recursive_data->num_layer_or_descendants_with_copy_request++; |
- if (!layer->touch_event_handler_region().IsEmpty() || |
- layer->have_wheel_event_handlers()) |
+ if (!layer->touch_event_handler_region().IsEmpty()) |
recursive_data->num_layer_or_descendants_with_input_handler++; |
layer->draw_properties().num_unclipped_descendants = |