| Index: cc/trees/layer_tree_host_impl.cc
|
| diff --git a/cc/trees/layer_tree_host_impl.cc b/cc/trees/layer_tree_host_impl.cc
|
| index f5d61590fc92298ce666ef4bc98d379c68f9f6d4..47fed2bc0fc52782e4bdf0e0680a0298d0dfb1db 100644
|
| --- a/cc/trees/layer_tree_host_impl.cc
|
| +++ b/cc/trees/layer_tree_host_impl.cc
|
| @@ -2751,6 +2751,17 @@ InputHandler::ScrollStatus LayerTreeHostImpl::ScrollBegin(
|
| scrolling_node =
|
| scrolling_layer ? scroll_tree.Node(scrolling_layer->scroll_tree_index())
|
| : nullptr;
|
| + if (!scroll_on_main_thread && scrolling_node) {
|
| + if (IsWheelBasedScroll(type)) {
|
| + UMA_HISTOGRAM_CUSTOM_COUNTS(
|
| + "Event.Scroll.Wheel.ScrollerSize",
|
| + scrolling_node->scroll_clip_layer_bounds.GetArea(), 1, 90000, 50);
|
| + } else {
|
| + UMA_HISTOGRAM_CUSTOM_COUNTS(
|
| + "Event.Scroll.Touch.ScrollerSize",
|
| + scrolling_node->scroll_clip_layer_bounds.GetArea(), 1, 90000, 50);
|
| + }
|
| + }
|
| }
|
|
|
| if (scroll_on_main_thread) {
|
|
|