Index: ipc/ipc_channel_reader.cc |
diff --git a/ipc/ipc_channel_reader.cc b/ipc/ipc_channel_reader.cc |
index 79b79c23e536450402806c289e691ecafe64b3be..7e8902e54d2a894a9cfe65df489e3f999c9386c5 100644 |
--- a/ipc/ipc_channel_reader.cc |
+++ b/ipc/ipc_channel_reader.cc |
@@ -150,6 +150,8 @@ ChannelReader::DispatchState ChannelReader::DispatchMessages() { |
} |
void ChannelReader::DispatchMessage(Message* m) { |
+ m->set_sender_pid(GetSenderPID()); |
+ |
#ifdef IPC_MESSAGE_LOG_ENABLED |
std::string name; |
Logging::GetInstance()->GetMessageText(m->type(), &name, m, NULL); |