Index: ppapi/host/resource_message_filter_unittest.cc |
diff --git a/ppapi/host/resource_message_filter_unittest.cc b/ppapi/host/resource_message_filter_unittest.cc |
index 38fd9d8f50e65b1e4d86d33845aa5b90c3b93b5f..78fc23cf6b43bd34f712e881b1ba9cbe101445b4 100644 |
--- a/ppapi/host/resource_message_filter_unittest.cc |
+++ b/ppapi/host/resource_message_filter_unittest.cc |
@@ -64,7 +64,8 @@ class MyResourceHost : public ResourceHost { |
HostMessageContext* context) OVERRIDE { |
last_handled_msg_ = msg; |
if (msg.type() == msg_type_) { |
- context->reply_msg = IPC::Message(0, reply_msg_type_); |
+ context->reply_msg = IPC::Message(0, reply_msg_type_, |
+ IPC::Message::PRIORITY_NORMAL); |
return PP_OK; |
} |
return PP_ERROR_FAILED; |
@@ -122,7 +123,8 @@ class MyResourceFilter : public ResourceMessageFilter { |
last_handled_msg_ = msg; |
last_message_loop_ = base::MessageLoop::current(); |
if (msg.type() == msg_type_) { |
- context->reply_msg = IPC::Message(0, reply_msg_type_); |
+ context->reply_msg = IPC::Message(0, reply_msg_type_, |
+ IPC::Message::PRIORITY_NORMAL); |
return PP_OK; |
} |
return PP_ERROR_FAILED; |
@@ -164,9 +166,9 @@ TEST_F(ResourceMessageFilterTest, TestHandleMessage) { |
proxy::ResourceMessageCallParams params(resource, 1); |
params.set_has_callback(); |
HostMessageContext context(params); |
- IPC::Message message1(0, MSG1_TYPE); |
- IPC::Message message2(0, MSG2_TYPE); |
- IPC::Message message3(0, MSG3_TYPE); |
+ IPC::Message message1(0, MSG1_TYPE, IPC::Message::PRIORITY_NORMAL); |
+ IPC::Message message2(0, MSG2_TYPE, IPC::Message::PRIORITY_NORMAL); |
+ IPC::Message message3(0, MSG3_TYPE, IPC::Message::PRIORITY_NORMAL); |
// Message 1 handled by the first filter. |
host.HandleMessage(message1, &context); |