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 87c240495e73479d7ec1ac81e17409142d650e5d..3d13b5e1571f0b158cdefe472eb440a912ca3b91 100644 |
--- a/content/browser/renderer_host/render_view_host_unittest.cc |
+++ b/content/browser/renderer_host/render_view_host_unittest.cc |
@@ -225,7 +225,8 @@ 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 message(0, ViewHostMsg_UpdateTargetURL::ID, |
+ IPC::Message::PRIORITY_NORMAL); |
test_rvh()->OnMessageReceived(message); |
EXPECT_EQ(1, process()->bad_msg_count()); |
} |
@@ -236,7 +237,8 @@ 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 message(0, ViewHostMsg_UpdateRect::ID, |
+ IPC::Message::PRIORITY_NORMAL); |
test_rvh()->OnMessageReceived(message); |
EXPECT_EQ(1, process()->bad_msg_count()); |
} |
@@ -248,7 +250,8 @@ 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 message(0, InputHostMsg_HandleInputEvent_ACK::ID, |
+ IPC::Message::PRIORITY_NORMAL); |
test_rvh()->OnMessageReceived(message); |
EXPECT_EQ(1, process()->bad_msg_count()); |
} |