Index: content/browser/renderer_host/render_widget_host_unittest.cc |
diff --git a/content/browser/renderer_host/render_widget_host_unittest.cc b/content/browser/renderer_host/render_widget_host_unittest.cc |
index e3f26fe1e41b502f06c0cded5b2277831d8e2674..881882c34b25030eeae8f1085a51d73c53fedc1b 100644 |
--- a/content/browser/renderer_host/render_widget_host_unittest.cc |
+++ b/content/browser/renderer_host/render_widget_host_unittest.cc |
@@ -570,7 +570,7 @@ class RenderWidgetHostTest : public testing::Test { |
void SimulateKeyboardEvent(WebInputEvent::Type type, int modifiers) { |
NativeWebKeyboardEvent native_event(type, modifiers, |
GetNextSimulatedEventTimeSeconds()); |
- host_->ForwardKeyboardEvent(native_event); |
+ host_->ForwardKeyboardEventWithLatencyInfo(native_event, ui::LatencyInfo()); |
} |
void SimulateKeyboardEventWithCommands(WebInputEvent::Type type) { |
@@ -578,7 +578,8 @@ class RenderWidgetHostTest : public testing::Test { |
GetNextSimulatedEventTimeSeconds()); |
EditCommands commands; |
commands.emplace_back("name", "value"); |
- host_->ForwardKeyboardEventWithCommands(native_event, &commands, nullptr); |
+ host_->ForwardKeyboardEventWithCommands(native_event, ui::LatencyInfo(), |
+ &commands, nullptr); |
} |
void SimulateMouseEvent(WebInputEvent::Type type) { |