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..09bbab14098422bfa15ea25a278d81758dce7835 100644 |
--- a/content/public/browser/utility_process_mojo_client.h |
+++ b/content/public/browser/utility_process_mojo_client.h |
@@ -17,6 +17,7 @@ |
#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 { |
@@ -107,10 +108,8 @@ class UtilityProcessMojoClient { |
utility_host_->DisableSandbox(); |
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. |