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 01620c8a7b8f5ae3e0998534f42919a75cd6a900..e8e631947c3e8148a9e5efc19c4a3de29fea4cfe 100644 |
--- a/content/public/test/browser_test_utils.cc |
+++ b/content/public/test/browser_test_utils.cc |
@@ -236,7 +236,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, |