| Index: content/browser/mojo/mojo_shell_context.cc
|
| diff --git a/content/browser/mojo/mojo_shell_context.cc b/content/browser/mojo/mojo_shell_context.cc
|
| index 4f4200e4ea88c98903cfb22cd44669c0690afaa5..cf4a0a3a6b7cc230742510d279d6924626a51225 100644
|
| --- a/content/browser/mojo/mojo_shell_context.cc
|
| +++ b/content/browser/mojo/mojo_shell_context.cc
|
| @@ -27,7 +27,6 @@
|
| #include "content/public/browser/utility_process_host_client.h"
|
| #include "content/public/common/content_client.h"
|
| #include "content/public/common/content_switches.h"
|
| -#include "content/public/common/service_registry.h"
|
| #include "mojo/edk/embedder/embedder.h"
|
| #include "mojo/public/cpp/bindings/interface_request.h"
|
| #include "mojo/public/cpp/bindings/string.h"
|
| @@ -60,8 +59,7 @@ void StartUtilityProcessOnIOThread(
|
| process_host->DisableSandbox();
|
| process_host->Start();
|
|
|
| - ServiceRegistry* services = process_host->GetServiceRegistry();
|
| - services->ConnectToRemoteService(std::move(request));
|
| + process_host->GetRemoteInterfaces()->GetInterface(std::move(request));
|
| }
|
|
|
| void OnApplicationLoaded(const std::string& name, bool success) {
|
| @@ -103,8 +101,7 @@ void RequestGpuProcessControl(
|
| // load requests through mojom::ProcessControl will also fail. Make sure we
|
| // handle
|
| // these cases correctly.
|
| - process_host->GetServiceRegistry()->ConnectToRemoteService(
|
| - std::move(request));
|
| + process_host->GetRemoteInterfaces()->GetInterface(std::move(request));
|
| }
|
|
|
| void LaunchAppInGpuProcess(const std::string& app_name,
|
|
|