Index: content/browser/renderer_host/input/input_router_impl_perftest.cc |
diff --git a/content/browser/renderer_host/input/input_router_impl_perftest.cc b/content/browser/renderer_host/input/input_router_impl_perftest.cc |
index 972fc49c114d9d58b5b4083e91757c58a437aefb..3db414e56d893049e455931c1560fc0d50d2bd41 100644 |
--- a/content/browser/renderer_host/input/input_router_impl_perftest.cc |
+++ b/content/browser/renderer_host/input/input_router_impl_perftest.cc |
@@ -82,6 +82,7 @@ class NullInputRouterClient : public InputRouterClient { |
} |
virtual void DidFlush() OVERRIDE {} |
virtual void SetNeedsFlush() OVERRIDE {} |
+ virtual void DidOverscroll(const DidOverscrollParams& params) OVERRIDE {} |
}; |
class NullIPCSender : public IPC::Sender { |
@@ -237,8 +238,10 @@ class InputRouterImplPerfTest : public testing::Test { |
InputEventAckState ack_result) { |
if (WebInputEventTraits::IgnoresAckDisposition(event)) |
return; |
- InputHostMsg_HandleInputEvent_ACK response( |
- 0, event.type, ack_result, ui::LatencyInfo()); |
+ InputHostMsg_HandleInputEvent_ACK_Params ack; |
+ ack.type = event.type; |
+ ack.state = ack_result; |
+ InputHostMsg_HandleInputEvent_ACK response(0, ack); |
input_router_->OnMessageReceived(response); |
} |