| Index: chrome/renderer/chrome_content_renderer_client.cc
|
| diff --git a/chrome/renderer/chrome_content_renderer_client.cc b/chrome/renderer/chrome_content_renderer_client.cc
|
| index 7aaa5f284245e0d7d22a255d88270fccddec5e44..5f2eaf622c34d91bdbaf697233598c58a73ba9ab 100644
|
| --- a/chrome/renderer/chrome_content_renderer_client.cc
|
| +++ b/chrome/renderer/chrome_content_renderer_client.cc
|
| @@ -83,7 +83,6 @@
|
| #include "components/web_cache/renderer/web_cache_impl.h"
|
| #include "content/public/common/content_constants.h"
|
| #include "content/public/common/content_switches.h"
|
| -#include "content/public/common/service_registry.h"
|
| #include "content/public/common/url_constants.h"
|
| #include "content/public/renderer/plugin_instance_throttler.h"
|
| #include "content/public/renderer/render_frame.h"
|
| @@ -95,6 +94,7 @@
|
| #include "net/base/net_errors.h"
|
| #include "ppapi/c/private/ppb_pdf.h"
|
| #include "ppapi/shared_impl/ppapi_switches.h"
|
| +#include "services/shell/public/cpp/interface_provider.h"
|
| #include "third_party/WebKit/public/platform/URLConversion.h"
|
| #include "third_party/WebKit/public/platform/WebCachePolicy.h"
|
| #include "third_party/WebKit/public/platform/WebSecurityOrigin.h"
|
| @@ -331,8 +331,7 @@ void ChromeContentRendererClient::RenderThreadStarted() {
|
|
|
| {
|
| startup_metric_utils::mojom::StartupMetricHostPtr startup_metric_host;
|
| - thread->GetServiceRegistry()->ConnectToRemoteService(
|
| - mojo::GetProxy(&startup_metric_host));
|
| + thread->GetRemoteInterfaces()->GetInterface(&startup_metric_host);
|
| startup_metric_host->RecordRendererMainEntryTime(main_entry_time_);
|
| }
|
|
|
|
|