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 6e702d5f224f233addab1e6126c523367277f90a..acd0035bcc955fa19f71e5b56f20eb0a4b4cdea7 100644 |
--- a/content/browser/renderer_host/render_view_host_unittest.cc |
+++ b/content/browser/renderer_host/render_view_host_unittest.cc |
@@ -226,8 +226,7 @@ TEST_F(RenderViewHostTest, BadMessageHandlerRenderViewHost) { |
EXPECT_EQ(0, process()->bad_msg_count()); |
// craft an incorrect ViewHostMsg_UpdateTargetURL message. The real one has |
// two payload items but the one we construct has none. |
- IPC::Message message(0, ViewHostMsg_UpdateTargetURL::ID, |
- IPC::Message::PRIORITY_NORMAL); |
+ IPC::Message message(0, ViewHostMsg_UpdateTargetURL::ID); |
test_rvh()->OnMessageReceived(message); |
EXPECT_EQ(1, process()->bad_msg_count()); |
} |
@@ -238,8 +237,7 @@ TEST_F(RenderViewHostTest, BadMessageHandlerRenderWidgetHost) { |
EXPECT_EQ(0, process()->bad_msg_count()); |
// craft an incorrect ViewHostMsg_UpdateRect message. The real one has |
// one payload item but the one we construct has none. |
- IPC::Message message(0, ViewHostMsg_UpdateRect::ID, |
- IPC::Message::PRIORITY_NORMAL); |
+ IPC::Message message(0, ViewHostMsg_UpdateRect::ID); |
test_rvh()->OnMessageReceived(message); |
EXPECT_EQ(1, process()->bad_msg_count()); |
} |
@@ -251,8 +249,7 @@ TEST_F(RenderViewHostTest, BadMessageHandlerInputEventAck) { |
// 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, InputHostMsg_HandleInputEvent_ACK::ID, |
- IPC::Message::PRIORITY_NORMAL); |
+ IPC::Message message(0, InputHostMsg_HandleInputEvent_ACK::ID); |
test_rvh()->OnMessageReceived(message); |
EXPECT_EQ(1, process()->bad_msg_count()); |
} |