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 11241ab3583a18e0d7d71a54412013dc659b5e3d..d50287d75cbe2a41fed2918f592af32641f19ba1 100644 |
--- a/content/browser/renderer_host/render_widget_host_unittest.cc |
+++ b/content/browser/renderer_host/render_widget_host_unittest.cc |
@@ -638,10 +638,10 @@ class RenderWidgetHostTest : public testing::Test { |
void SendInputEventACK(WebInputEvent::Type type, |
InputEventAckState ack_result) { |
- scoped_ptr<IPC::Message> response( |
- new InputHostMsg_HandleInputEvent_ACK(0, type, ack_result, |
- ui::LatencyInfo())); |
- host_->OnMessageReceived(*response); |
+ InputHostMsg_HandleInputEvent_ACK_Params ack; |
+ ack.type = type; |
+ ack.state = ack_result; |
+ host_->OnMessageReceived(InputHostMsg_HandleInputEvent_ACK(0, ack)); |
} |
double GetNextSimulatedEventTimeSeconds() { |