Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(85)

Unified Diff: ipc/ipc_sync_message.cc

Issue 57783006: Revert https://src.chromium.org/viewvc/chrome?view=rev&revision=231330 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix compile (cc perftest). Created 7 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ipc/ipc_sync_message.h ('k') | ppapi/host/resource_message_filter_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
« no previous file with comments | « ipc/ipc_sync_message.h ('k') | ppapi/host/resource_message_filter_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698