Index: ipc/ipc_sync_message.cc |
diff --git a/ipc/ipc_sync_message.cc b/ipc/ipc_sync_message.cc |
index 52268788fb44c96f5b986b9ee60c62e4b79f8159..9e3acf8e1fae1dba5a46469dae1e77b2513cd19b 100644 |
--- a/ipc/ipc_sync_message.cc |
+++ b/ipc/ipc_sync_message.cc |
@@ -39,8 +39,9 @@ namespace IPC { |
SyncMessage::SyncMessage( |
int32 routing_id, |
uint32 type, |
+ PriorityValue priority, |
MessageReplyDeserializer* deserializer) |
- : Message(routing_id, type), |
+ : Message(routing_id, type, priority), |
deserializer_(deserializer), |
pump_messages_event_(NULL) |
{ |
@@ -95,7 +96,8 @@ int SyncMessage::GetMessageId(const Message& msg) { |
Message* SyncMessage::GenerateReply(const Message* msg) { |
DCHECK(msg->is_sync()); |
- Message* reply = new Message(msg->routing_id(), IPC_REPLY_ID); |
+ Message* reply = new Message(msg->routing_id(), IPC_REPLY_ID, |
+ msg->priority()); |
reply->set_reply(); |
SyncHeader header; |