Index: services/shell/runner/common/client_util.cc |
diff --git a/services/shell/runner/common/client_util.cc b/services/shell/runner/common/client_util.cc |
index 9a79c0e88db11b40e8d14eda633fa1aebe05af09..7a7192ccd460f8503ffd03827f178fb9c179abce 100644 |
--- a/services/shell/runner/common/client_util.cc |
+++ b/services/shell/runner/common/client_util.cc |
@@ -13,13 +13,14 @@ |
namespace shell { |
mojom::ShellClientPtr PassShellClientRequestOnCommandLine( |
- base::CommandLine* command_line) { |
+ base::CommandLine* command_line, const std::string& child_token) { |
std::string token = mojo::edk::GenerateRandomToken(); |
command_line->AppendSwitchASCII(switches::kPrimordialPipeToken, token); |
mojom::ShellClientPtr client; |
client.Bind( |
- mojom::ShellClientPtrInfo(mojo::edk::CreateParentMessagePipe(token), 0)); |
+ mojom::ShellClientPtrInfo( |
+ mojo::edk::CreateParentMessagePipe(token, child_token), 0)); |
return client; |
} |