Index: content/browser/renderer_host/input/input_router_impl_unittest.cc |
diff --git a/content/browser/renderer_host/input/input_router_impl_unittest.cc b/content/browser/renderer_host/input/input_router_impl_unittest.cc |
index 1039e70804e57d4e5e33a330186a5266641b253e..09e2495d740d5ff7349f592c9be40548cf4a6e3c 100644 |
--- a/content/browser/renderer_host/input/input_router_impl_unittest.cc |
+++ b/content/browser/renderer_host/input/input_router_impl_unittest.cc |
@@ -293,10 +293,10 @@ class InputRouterImplTest : public testing::Test { |
void SendInputEventACK(blink::WebInputEvent::Type type, |
InputEventAckState ack_result) { |
- scoped_ptr<IPC::Message> response( |
- new InputHostMsg_HandleInputEvent_ACK(0, type, ack_result, |
- ui::LatencyInfo())); |
- input_router_->OnMessageReceived(*response); |
+ InputEventAck ack; |
+ ack.type = type; |
+ ack.state = ack_result; |
+ input_router_->OnMessageReceived(InputHostMsg_HandleInputEvent_ACK(0, ack)); |
} |
InputRouterImpl* input_router() const { |