| 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 4debf70b740f42076725968aad15831228f46120..6326af12775b99d547c1c699224f164516e17728 100644
|
| --- a/content/browser/utility_process_host_impl.cc
|
| +++ b/content/browser/utility_process_host_impl.cc
|
| @@ -172,9 +172,10 @@ UtilityProcessHostImpl::UtilityProcessHostImpl(
|
| child_token_));
|
| mojo_child_connection_.reset(new MojoChildConnection(
|
| kUtilityMojoApplicationName,
|
| - base::StringPrintf("%d_0", process_->GetData().id),
|
| - child_token_,
|
| - MojoShellContext::GetConnectorForIOThread()));
|
| + base::StringPrintf("%d_0", process_->GetData().id), child_token_,
|
| + MojoShellContext::GetConnectorForIOThread(),
|
| + BrowserThread::UnsafeGetMessageLoopForThread(BrowserThread::IO)
|
| + ->task_runner()));
|
| }
|
|
|
| UtilityProcessHostImpl::~UtilityProcessHostImpl() {
|
| @@ -239,11 +240,11 @@ bool UtilityProcessHostImpl::Start() {
|
| }
|
|
|
| shell::InterfaceRegistry* UtilityProcessHostImpl::GetInterfaceRegistry() {
|
| - return mojo_child_connection_->connection()->GetInterfaceRegistry();
|
| + return mojo_child_connection_->GetInterfaceRegistry();
|
| }
|
|
|
| shell::InterfaceProvider* UtilityProcessHostImpl::GetRemoteInterfaces() {
|
| - return mojo_child_connection_->connection()->GetRemoteInterfaces();
|
| + return mojo_child_connection_->GetRemoteInterfaces();
|
| }
|
|
|
| void UtilityProcessHostImpl::SetName(const base::string16& name) {
|
|
|