Index: ipc/mojo/ipc_mojo_bootstrap.cc |
diff --git a/ipc/mojo/ipc_mojo_bootstrap.cc b/ipc/mojo/ipc_mojo_bootstrap.cc |
index cd9b24a523e2b9eae9ed2a90cbfd8652d8daf592..48d0c27e8261d8818e2f0dc74374c0817788c7aa 100644 |
--- a/ipc/mojo/ipc_mojo_bootstrap.cc |
+++ b/ipc/mojo/ipc_mojo_bootstrap.cc |
@@ -173,14 +173,16 @@ void MojoClientBootstrap::OnChannelConnected(int32 peer_pid) { |
// static |
scoped_ptr<MojoBootstrap> MojoBootstrap::Create(ChannelHandle handle, |
Channel::Mode mode, |
- Delegate* delegate) { |
+ Delegate* delegate, |
+ AttachmentBroker* broker) { |
CHECK(mode == Channel::MODE_CLIENT || mode == Channel::MODE_SERVER); |
scoped_ptr<MojoBootstrap> self = |
mode == Channel::MODE_CLIENT |
? scoped_ptr<MojoBootstrap>(new MojoClientBootstrap()) |
: scoped_ptr<MojoBootstrap>(new MojoServerBootstrap()); |
+ |
scoped_ptr<Channel> bootstrap_channel = |
- Channel::Create(handle, mode, self.get()); |
+ Channel::Create(handle, mode, self.get(), broker); |
self->Init(bootstrap_channel.Pass(), delegate); |
return self.Pass(); |
} |