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

Unified Diff: ipc/ipc_channel_proxy.cc

Issue 1903663004: IPC: Fix attachment brokering race condition. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: runtime error Created 4 years, 8 months 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
Index: ipc/ipc_channel_proxy.cc
diff --git a/ipc/ipc_channel_proxy.cc b/ipc/ipc_channel_proxy.cc
index 848e1856294f3d28384681f9c745a05add97e851..3df9ec7c17ac6994a082e22b7fee5532ffc0e6a7 100644
--- a/ipc/ipc_channel_proxy.cc
+++ b/ipc/ipc_channel_proxy.cc
@@ -486,6 +486,7 @@ base::ProcessId ChannelProxy::GetPeerPID() const {
}
void ChannelProxy::OnSetAttachmentBrokerEndpoint() {
+ DCHECK(!did_init_);
context()->set_attachment_broker_endpoint(is_attachment_broker_endpoint());
}
« ipc/ipc_channel.h ('K') | « ipc/ipc_channel_proxy.h ('k') | ipc/ipc_channel_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698