| 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 354b3b5f3bbc2acca60adb74ba9b1bfc3b5f776e..f2275b34a9bf6d9c248c6ba5142488532f56793a 100644
|
| --- a/components/dom_distiller/content/browser/distillability_driver.cc
|
| +++ b/components/dom_distiller/content/browser/distillability_driver.cc
|
| @@ -85,10 +85,6 @@ void DistillabilityDriver::RenderFrameHostChanged(
|
| // or from a native page), the service needs to be attached to that host.
|
| mojo_needs_setup_ = true;
|
| SetupMojoService(new_host);
|
| - // Clean up the service on the old host if possible.
|
| - if (!old_host || !old_host->GetInterfaceRegistry()) return;
|
| - old_host->GetInterfaceRegistry()
|
| - ->RemoveInterface<mojom::DistillabilityService>();
|
| }
|
|
|
| void DistillabilityDriver::DidStartProvisionalLoadForFrame(
|
|
|