Index: content/browser/renderer_host/render_view_host_unittest.cc |
diff --git a/content/browser/renderer_host/render_view_host_unittest.cc b/content/browser/renderer_host/render_view_host_unittest.cc |
index 2645f62ad745cdeb34f5434e3b4fde1189b1aa28..f523c064edd676ed53164bed804d74a691125df4 100644 |
--- a/content/browser/renderer_host/render_view_host_unittest.cc |
+++ b/content/browser/renderer_host/render_view_host_unittest.cc |
@@ -6,6 +6,7 @@ |
#include "content/browser/child_process_security_policy_impl.h" |
#include "content/browser/renderer_host/test_render_view_host.h" |
#include "content/browser/web_contents/navigation_controller_impl.h" |
+#include "content/common/input_messages.h" |
#include "content/common/view_messages.h" |
#include "content/port/browser/render_view_host_delegate_view.h" |
#include "content/public/browser/navigation_entry.h" |
@@ -214,11 +215,11 @@ TEST_F(RenderViewHostTest, BadMessageHandlerRenderWidgetHost) { |
// Test that OnInputEventAck() detects bad messages. |
TEST_F(RenderViewHostTest, BadMessageHandlerInputEventAck) { |
EXPECT_EQ(0, process()->bad_msg_count()); |
- // ViewHostMsg_HandleInputEvent_ACK is defined taking 0 params but |
+ // InputHostMsg_HandleInputEvent_ACK is defined taking 0 params but |
// the code actually expects it to have at least one int para, this this |
// bogus message will not fail at de-serialization but should fail in |
// OnInputEventAck() processing. |
- IPC::Message message(0, ViewHostMsg_HandleInputEvent_ACK::ID, |
+ IPC::Message message(0, InputHostMsg_HandleInputEvent_ACK::ID, |
IPC::Message::PRIORITY_NORMAL); |
test_rvh()->OnMessageReceived(message); |
EXPECT_EQ(1, process()->bad_msg_count()); |