Index: ipc/ipc_channel_posix.cc |
diff --git a/ipc/ipc_channel_posix.cc b/ipc/ipc_channel_posix.cc |
index fffbd2b3e2d9f06703722756c0cfc5cb8cc35909..df7a7589465d93329a5083b60635e48be9592aa3 100644 |
--- a/ipc/ipc_channel_posix.cc |
+++ b/ipc/ipc_channel_posix.cc |
@@ -1017,6 +1017,12 @@ void ChannelPosix::HandleInternalMessage(const Message& msg) { |
if (!FlushPrelimQueue()) |
ClosePipeOnError(); |
+ |
+ if (IsAttachmentBrokerEndpoint() && |
+ AttachmentBroker::GetGlobal() && |
+ AttachmentBroker::GetGlobal()->IsPrivilegedBroker()) { |
+ AttachmentBroker::GetGlobal()->ReceivedPeerPid(pid); |
+ } |
break; |
#if defined(OS_MACOSX) |