| Index: ui/events/blink/input_handler_proxy.cc
|
| diff --git a/ui/events/blink/input_handler_proxy.cc b/ui/events/blink/input_handler_proxy.cc
|
| index 40d1415d9e9ec0a9493b194486da549f9aed5a8c..9357cd95a4ab44ec7b74c0eecc8321f7fd68114c 100644
|
| --- a/ui/events/blink/input_handler_proxy.cc
|
| +++ b/ui/events/blink/input_handler_proxy.cc
|
| @@ -262,13 +262,13 @@ void InputHandlerProxy::WillShutdown() {
|
| }
|
|
|
| void InputHandlerProxy::HandleInputEventWithLatencyInfo(
|
| - ScopedWebInputEvent event,
|
| + blink::ScopedCoalescedWebInputEvent coalescedEvent,
|
| const LatencyInfo& latency_info,
|
| const EventDispositionCallback& callback) {
|
| DCHECK(input_handler_);
|
|
|
| if (uma_latency_reporting_enabled_)
|
| - ReportInputEventLatencyUma(*event, latency_info);
|
| + ReportInputEventLatencyUma(coalescedEvent->event(), latency_info);
|
|
|
| TRACE_EVENT_WITH_FLOW1("input,benchmark", "LatencyInfo.Flow",
|
| TRACE_ID_DONT_MANGLE(latency_info.trace_id()),
|
| @@ -281,7 +281,8 @@ void InputHandlerProxy::HandleInputEventWithLatencyInfo(
|
| &monitored_latency_info);
|
|
|
| current_overscroll_params_.reset();
|
| - InputHandlerProxy::EventDisposition disposition = HandleInputEvent(*event);
|
| + InputHandlerProxy::EventDisposition disposition =
|
| + HandleInputEvent(coalescedEvent->event());
|
| callback.Run(disposition, std::move(event), monitored_latency_info,
|
| std::move(current_overscroll_params_));
|
| }
|
|
|