Index: components/dom_distiller/content/renderer/distiller_native_javascript.cc |
diff --git a/components/dom_distiller/content/renderer/distiller_native_javascript.cc b/components/dom_distiller/content/renderer/distiller_native_javascript.cc |
index 86dd5ccd9257a8a42b5da354c9f5f54a121ea1b9..f4293659abf798e9f48cfa26492cd2b0f71f5899 100644 |
--- a/components/dom_distiller/content/renderer/distiller_native_javascript.cc |
+++ b/components/dom_distiller/content/renderer/distiller_native_javascript.cc |
@@ -44,12 +44,6 @@ void DistillerNativeJavaScript::AddJavaScriptObjectToFrame( |
// Many functions can simply call the Mojo interface directly and have no |
// wrapper function for binding. Note that calling distiller_js_service.get() |
// does not transfer ownership of the interface. |
- BindFunctionToObject( |
- distiller_obj, "closePanel", |
- base::Bind( |
- &mojom::DistillerJavaScriptService::HandleDistillerClosePanelCall, |
- base::Unretained(distiller_js_service_.get()))); |
- |
BindFunctionToObject( |
distiller_obj, "openSettings", |
base::Bind( |