| Index: chrome/browser/task_manager/child_process_resource_provider.cc
|
| diff --git a/chrome/browser/task_manager/child_process_resource_provider.cc b/chrome/browser/task_manager/child_process_resource_provider.cc
|
| index b9d28890f6360d62845cf0f0c426aaf983c9767b..88710da02808e1da26eebf3cbdc0e66672b40bc5 100644
|
| --- a/chrome/browser/task_manager/child_process_resource_provider.cc
|
| +++ b/chrome/browser/task_manager/child_process_resource_provider.cc
|
| @@ -21,8 +21,8 @@
|
| #include "content/public/browser/browser_child_process_host_iterator.h"
|
| #include "content/public/browser/browser_thread.h"
|
| #include "content/public/browser/child_process_data.h"
|
| -#include "content/public/common/service_registry.h"
|
| #include "grit/theme_resources.h"
|
| +#include "services/shell/public/cpp/interface_provider.h"
|
| #include "ui/base/l10n/l10n_util.h"
|
| #include "ui/base/resource/resource_bundle.h"
|
| #include "ui/gfx/image/image_skia.h"
|
| @@ -93,14 +93,8 @@ void ChildProcessResource::ConnectResourceReporterOnIOThread(
|
| DCHECK_CURRENTLY_ON(BrowserThread::IO);
|
| content::BrowserChildProcessHost* host =
|
| content::BrowserChildProcessHost::FromID(id);
|
| - if (!host)
|
| - return;
|
| -
|
| - content::ServiceRegistry* registry = host->GetServiceRegistry();
|
| - if (!registry)
|
| - return;
|
| -
|
| - registry->ConnectToRemoteService(std::move(req));
|
| + if (host)
|
| + host->GetRemoteInterfaces()->GetInterface(std::move(req));
|
| }
|
|
|
| ChildProcessResource::ChildProcessResource(int process_type,
|
|
|