| 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 c0a4a7f546bb91019200e2ac4ffc215b836df8ab..ba2421666e99ed550564d3f995f6d1d951cc6afa 100644
|
| --- a/chrome/renderer/chrome_content_renderer_client.cc
|
| +++ b/chrome/renderer/chrome_content_renderer_client.cc
|
| @@ -82,7 +82,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"
|
| @@ -94,6 +93,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"
|
| @@ -330,8 +330,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_);
|
| }
|
|
|
|
|