Index: content/browser/renderer_host/render_widget_host_view_event_handler.cc |
diff --git a/content/browser/renderer_host/render_widget_host_view_event_handler.cc b/content/browser/renderer_host/render_widget_host_view_event_handler.cc |
index 980a6780b411c34b8988b6bb93bf7d1c3dd833a0..bccea9a39c0d489eb7892b5e03a28c3cfe51648b 100644 |
--- a/content/browser/renderer_host/render_widget_host_view_event_handler.cc |
+++ b/content/browser/renderer_host/render_widget_host_view_event_handler.cc |
@@ -284,7 +284,8 @@ void RenderWidgetHostViewEventHandler::OnKeyEvent(ui::KeyEvent* event) { |
SetKeyboardFocus(); |
// We don't have to communicate with an input method here. |
NativeWebKeyboardEvent webkit_event(*event); |
- delegate_->ForwardKeyboardEvent(webkit_event, &mark_event_as_handled); |
+ delegate_->ForwardKeyboardEventWithLatencyInfo( |
+ webkit_event, *event->latency(), &mark_event_as_handled); |
} |
if (mark_event_as_handled) |
event->SetHandled(); |