Index: content/public/test/browser_test_utils.cc |
diff --git a/content/public/test/browser_test_utils.cc b/content/public/test/browser_test_utils.cc |
index 0864b5a2ae4d89bf797a839f21ec40f8e937e24a..16aee30526666ac529fb60debd8b1b609fefa83c 100644 |
--- a/content/public/test/browser_test_utils.cc |
+++ b/content/public/test/browser_test_utils.cc |
@@ -246,7 +246,7 @@ void InjectRawKeyEvent(WebContents* web_contents, |
RenderWidgetHostImpl* main_frame_rwh = |
web_contents_impl->GetMainFrame()->GetRenderWidgetHost(); |
web_contents_impl->GetFocusedRenderWidgetHost(main_frame_rwh) |
- ->ForwardKeyboardEvent(event); |
+ ->ForwardKeyboardEventWithLatencyInfo(event, ui::LatencyInfo()); |
} |
void GetCookiesCallback(std::string* cookies_out, |