| Index: components/dom_distiller/content/browser/distillability_driver.cc
|
| diff --git a/components/dom_distiller/content/browser/distillability_driver.cc b/components/dom_distiller/content/browser/distillability_driver.cc
|
| index e0897d0a337aab8523e5c4891ffa60f08a3713f8..0448f9a3cba24b968d90af50c36fa64ea0aac73c 100644
|
| --- a/components/dom_distiller/content/browser/distillability_driver.cc
|
| +++ b/components/dom_distiller/content/browser/distillability_driver.cc
|
| @@ -8,7 +8,7 @@
|
| #include "content/public/browser/web_contents.h"
|
| #include "content/public/browser/web_contents_observer.h"
|
| #include "content/public/browser/web_contents_user_data.h"
|
| -#include "content/public/common/service_registry.h"
|
| +#include "services/shell/public/cpp/interface_registry.h"
|
|
|
| DEFINE_WEB_CONTENTS_USER_DATA_KEY(
|
| dom_distiller::DistillabilityDriver);
|
| @@ -75,9 +75,9 @@ void DistillabilityDriver::SetupMojoService() {
|
| if (!web_contents()) return;
|
|
|
| content::RenderFrameHost* frame_host = web_contents()->GetMainFrame();
|
| - if (!frame_host || !frame_host->GetServiceRegistry()) return;
|
| + if (!frame_host || !frame_host->GetInterfaceRegistry()) return;
|
|
|
| - frame_host->GetServiceRegistry()->AddService(
|
| + frame_host->GetInterfaceRegistry()->AddInterface(
|
| base::Bind(&DistillabilityDriver::CreateDistillabilityService,
|
| weak_factory_.GetWeakPtr()));
|
| }
|
|
|