Index: content/browser/mojo/mojo_child_connection.cc |
diff --git a/content/browser/mojo/mojo_child_connection.cc b/content/browser/mojo/mojo_child_connection.cc |
index 333271a651e8878b59e9f5703ebf78241fce721d..29570ab084094b33b0632781c531699e5dd5c5f5 100644 |
--- a/content/browser/mojo/mojo_child_connection.cc |
+++ b/content/browser/mojo/mojo_child_connection.cc |
@@ -17,10 +17,11 @@ |
namespace content { |
MojoChildConnection::MojoChildConnection(const std::string& application_name, |
- const std::string& instance_id) |
+ const std::string& instance_id, |
+ const std::string& child_token) |
: shell_client_token_(mojo::edk::GenerateRandomToken()) { |
mojo::ScopedMessagePipeHandle shell_client_pipe = |
- mojo::edk::CreateParentMessagePipe(shell_client_token_); |
+ mojo::edk::CreateParentMessagePipe(shell_client_token_, child_token); |
// Some process types get created before the main message loop. In this case |
// the shell request pipe will simply be closed, and the child can detect |