Index: ui/events/blink/input_handler_proxy.h |
diff --git a/ui/events/blink/input_handler_proxy.h b/ui/events/blink/input_handler_proxy.h |
index 49daedf795f4f4b59ef09fb89ace280a7958ad41..0db37a14b59179c76d85da12d05f0368948bf66e 100644 |
--- a/ui/events/blink/input_handler_proxy.h |
+++ b/ui/events/blink/input_handler_proxy.h |
@@ -71,14 +71,13 @@ class InputHandlerProxy |
DROP_EVENT |
}; |
using EventDispositionCallback = |
- base::Callback<void(EventDisposition, |
- WebScopedInputEvent WebInputEvent, |
- const LatencyInfo&, |
- std::unique_ptr<ui::DidOverscrollParams>)>; |
- void HandleInputEventWithLatencyInfo( |
- WebScopedInputEvent event, |
- const LatencyInfo& latency_info, |
- const EventDispositionCallback& callback); |
+ base::OnceCallback<void(EventDisposition, |
+ WebScopedInputEvent WebInputEvent, |
+ const LatencyInfo&, |
+ std::unique_ptr<ui::DidOverscrollParams>)>; |
+ void HandleInputEventWithLatencyInfo(WebScopedInputEvent event, |
+ const LatencyInfo& latency_info, |
+ EventDispositionCallback callback); |
EventDisposition HandleInputEvent(const blink::WebInputEvent& event); |
// cc::InputHandlerClient implementation. |