| Index: content/browser/utility_process_host_impl_browsertest.cc
|
| diff --git a/content/browser/utility_process_host_impl_browsertest.cc b/content/browser/utility_process_host_impl_browsertest.cc
|
| index b8a496be6a50515b27418984714749cc2b0e74e0..b71669c61477241086d38410aadea6eca6e12a0d 100644
|
| --- a/content/browser/utility_process_host_impl_browsertest.cc
|
| +++ b/content/browser/utility_process_host_impl_browsertest.cc
|
| @@ -8,10 +8,10 @@
|
| #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 "content/public/test/content_browser_test.h"
|
| #include "content/public/test/content_browser_test_utils.h"
|
| #include "content/public/test/test_mojo_service.mojom.h"
|
| +#include "services/shell/public/cpp/interface_provider.h"
|
|
|
| namespace content {
|
|
|
| @@ -38,8 +38,7 @@ class UtilityProcessHostImplBrowserTest : public ContentBrowserTest {
|
| #endif
|
| EXPECT_TRUE(host->Start());
|
|
|
| - ServiceRegistry* service_registry = host->GetServiceRegistry();
|
| - service_registry->ConnectToRemoteService(mojo::GetProxy(&service_));
|
| + host->GetRemoteInterfaces()->GetInterface(&service_);
|
| service_->DoSomething(base::Bind(
|
| &UtilityProcessHostImplBrowserTest::OnSomething,
|
| base::Unretained(this)));
|
|
|