| Index: ipc/ipc_sync_channel.cc
|
| diff --git a/ipc/ipc_sync_channel.cc b/ipc/ipc_sync_channel.cc
|
| index 2763ebd3220134dd0f9a13de5deede583281053c..b9dc2c5582f9d2a0a3529a327729f8466d672fd5 100644
|
| --- a/ipc/ipc_sync_channel.cc
|
| +++ b/ipc/ipc_sync_channel.cc
|
| @@ -323,13 +323,13 @@ bool SyncChannel::SyncContext::OnMessageReceived(const Message& msg) {
|
| if (TryToUnblockListener(&msg))
|
| return true;
|
|
|
| - if (msg.should_unblock()) {
|
| - received_sync_msgs_->QueueMessage(msg, this);
|
| + if (msg.is_reply()) {
|
| + received_sync_msgs_->QueueReply(msg, this);
|
| return true;
|
| }
|
|
|
| - if (msg.is_reply()) {
|
| - received_sync_msgs_->QueueReply(msg, this);
|
| + if (msg.should_unblock()) {
|
| + received_sync_msgs_->QueueMessage(msg, this);
|
| return true;
|
| }
|
|
|
|
|