Index: content/browser/renderer_host/input/input_router_impl.cc |
=================================================================== |
--- content/browser/renderer_host/input/input_router_impl.cc (revision 271040) |
+++ content/browser/renderer_host/input/input_router_impl.cc (working copy) |
@@ -268,8 +268,7 @@ |
bool InputRouterImpl::OnMessageReceived(const IPC::Message& message) { |
bool handled = true; |
- bool message_is_ok = true; |
- IPC_BEGIN_MESSAGE_MAP_EX(InputRouterImpl, message, message_is_ok) |
+ IPC_BEGIN_MESSAGE_MAP(InputRouterImpl, message) |
IPC_MESSAGE_HANDLER(InputHostMsg_HandleInputEvent_ACK, OnInputEventAck) |
IPC_MESSAGE_HANDLER(ViewHostMsg_MoveCaret_ACK, OnMsgMoveCaretAck) |
IPC_MESSAGE_HANDLER(ViewHostMsg_SelectRange_ACK, OnSelectRangeAck) |
@@ -280,9 +279,6 @@ |
IPC_MESSAGE_UNHANDLED(handled = false) |
IPC_END_MESSAGE_MAP() |
- if (!message_is_ok) |
- ack_handler_->OnUnexpectedEventAck(InputAckHandler::BAD_ACK_MESSAGE); |
- |
return handled; |
} |