| Index: content/child/child_thread_impl.cc
|
| diff --git a/content/child/child_thread_impl.cc b/content/child/child_thread_impl.cc
|
| index 236d222b8cf64c061414f0b0ea1d56d391b827ec..8fa0804beb1aee275d7999b4907a34e1915a3307 100644
|
| --- a/content/child/child_thread_impl.cc
|
| +++ b/content/child/child_thread_impl.cc
|
| @@ -570,12 +570,12 @@ void ChildThreadImpl::Init(const Options& options) {
|
| if (broker && !broker->IsPrivilegedBroker())
|
| broker->RegisterBrokerCommunicationChannel(channel_.get());
|
|
|
| - ConnectChannel(options.use_mojo_channel);
|
| -
|
| channel_->AddAssociatedInterface(
|
| base::Bind(&ChildThreadImpl::OnRouteProviderRequest,
|
| base::Unretained(this)));
|
|
|
| + ConnectChannel(options.use_mojo_channel);
|
| +
|
| // This must always be done after ConnectChannel, because ConnectChannel() may
|
| // add a ConnectionFilter to the connection.
|
| if (options.auto_start_mojo_shell_connection && mojo_shell_connection_)
|
|
|