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

Unified Diff: ipc/mojo/ipc_channel_mojo.cc

Issue 942933005: ChannelMojo should use PID from the bootstrap Channel. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 10 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
« no previous file with comments | « no previous file | ipc/mojo/ipc_channel_mojo_unittest.cc » ('j') | ipc/mojo/ipc_channel_mojo_unittest.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ipc/mojo/ipc_channel_mojo.cc
diff --git a/ipc/mojo/ipc_channel_mojo.cc b/ipc/mojo/ipc_channel_mojo.cc
index c3c6e0c446f91719cdbf5ea529c7e86ad8824af1..f084e7148e2808656fbee9d5ff5ebe98b6b495c6 100644
--- a/ipc/mojo/ipc_channel_mojo.cc
+++ b/ipc/mojo/ipc_channel_mojo.cc
@@ -318,7 +318,7 @@ base::ProcessId ChannelMojo::GetPeerPID() const {
}
base::ProcessId ChannelMojo::GetSelfPID() const {
- return base::GetCurrentProcId();
+ return bootstrap_->GetSelfPID();
}
void ChannelMojo::OnClientLaunched(base::ProcessHandle handle) {
« no previous file with comments | « no previous file | ipc/mojo/ipc_channel_mojo_unittest.cc » ('j') | ipc/mojo/ipc_channel_mojo_unittest.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698