| Index: content/public/browser/utility_process_mojo_client.h
|
| diff --git a/content/public/browser/utility_process_mojo_client.h b/content/public/browser/utility_process_mojo_client.h
|
| index 5de3ff7a91bf158e0d61ee80037c4fbc20a23a46..09bf76c60805d7a8151309d83fabe92070f4aec6 100644
|
| --- a/content/public/browser/utility_process_mojo_client.h
|
| +++ b/content/public/browser/utility_process_mojo_client.h
|
| @@ -15,8 +15,8 @@
|
| #include "content/public/browser/browser_thread.h"
|
| #include "content/public/browser/utility_process_host.h"
|
| #include "content/public/browser/utility_process_host_client.h"
|
| -#include "content/public/common/service_registry.h"
|
| #include "mojo/public/cpp/bindings/interface_ptr.h"
|
| +#include "services/shell/public/cpp/interface_provider.h"
|
|
|
| namespace content {
|
|
|
| @@ -108,9 +108,8 @@ class UtilityProcessMojoClient {
|
|
|
| utility_host_->Start();
|
|
|
| - ServiceRegistry* service_registry = utility_host_->GetServiceRegistry();
|
| - service_registry->ConnectToRemoteService(mojo_interface_name,
|
| - std::move(interface_pipe));
|
| + utility_host_->GetRemoteInterfaces()->GetInterface(
|
| + mojo_interface_name, std::move(interface_pipe));
|
| }
|
|
|
| // Properties of the utility process.
|
|
|