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 0af7c636bc733af8f87b95e5a560e1bba92b43a1..182f135650149c0afcac60a96a7a87d7da6c913f 100644 |
--- a/content/public/test/browser_test_utils.cc |
+++ b/content/public/test/browser_test_utils.cc |
@@ -305,10 +305,10 @@ void SimulateTapAt(WebContents* web_contents, const gfx::Point& point) { |
touch.PressPoint(point.x(), point.y()); |
RenderWidgetHostImpl* widget_host = |
RenderWidgetHostImpl::From(web_contents->GetRenderViewHost()); |
- widget_host->ForwardTouchEvent(touch); |
+ widget_host->ForwardTouchEventWithLatencyInfo(touch, ui::LatencyInfo()); |
touch.timeStampSeconds += kTapDurationSeconds; |
touch.ReleasePoint(0); |
- widget_host->ForwardTouchEvent(touch); |
+ widget_host->ForwardTouchEventWithLatencyInfo(touch, ui::LatencyInfo()); |
} |
void SimulateKeyPress(WebContents* web_contents, |