| Index: content/browser/utility_process_host_impl.cc
|
| diff --git a/content/browser/utility_process_host_impl.cc b/content/browser/utility_process_host_impl.cc
|
| index ddab80680dec3fe9662788ae7426c0285ad84905..e4b822865a202d73a2e56cdb14902d7c5e0946cb 100644
|
| --- a/content/browser/utility_process_host_impl.cc
|
| +++ b/content/browser/utility_process_host_impl.cc
|
| @@ -172,10 +172,9 @@
|
| child_token_));
|
| mojo_child_connection_.reset(new MojoChildConnection(
|
| kUtilityMojoApplicationName,
|
| - base::StringPrintf("%d_0", process_->GetData().id), child_token_,
|
| - MojoShellContext::GetConnectorForIOThread(),
|
| - BrowserThread::UnsafeGetMessageLoopForThread(BrowserThread::IO)
|
| - ->task_runner()));
|
| + base::StringPrintf("%d_0", process_->GetData().id),
|
| + child_token_,
|
| + MojoShellContext::GetConnectorForIOThread()));
|
| }
|
|
|
| UtilityProcessHostImpl::~UtilityProcessHostImpl() {
|
| @@ -240,11 +239,11 @@
|
| }
|
|
|
| shell::InterfaceRegistry* UtilityProcessHostImpl::GetInterfaceRegistry() {
|
| - return mojo_child_connection_->GetInterfaceRegistry();
|
| + return mojo_child_connection_->connection()->GetInterfaceRegistry();
|
| }
|
|
|
| shell::InterfaceProvider* UtilityProcessHostImpl::GetRemoteInterfaces() {
|
| - return mojo_child_connection_->GetRemoteInterfaces();
|
| + return mojo_child_connection_->connection()->GetRemoteInterfaces();
|
| }
|
|
|
| void UtilityProcessHostImpl::SetName(const base::string16& name) {
|
|
|