Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(371)

Unified Diff: components/dom_distiller/content/renderer/distiller_native_javascript.cc

Issue 2883643002: Clean up ReaderMode OverlayPanel classes (Closed)
Patch Set: remove extra enum Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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(

Powered by Google App Engine
This is Rietveld 408576698