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

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

Issue 2851173004: Eliminate bind callback that doesn't take a BindSourceInfo parameter. (Closed)
Patch Set: . Created 3 years, 8 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_js_render_frame_observer.cc
diff --git a/components/dom_distiller/content/renderer/distiller_js_render_frame_observer.cc b/components/dom_distiller/content/renderer/distiller_js_render_frame_observer.cc
index 734f6b2dd1545f85e5924d56f1fcc4ff2322b2aa..b3ae09b06484b7cf96da2cfcf9a0034d9b95508b 100644
--- a/components/dom_distiller/content/renderer/distiller_js_render_frame_observer.cc
+++ b/components/dom_distiller/content/renderer/distiller_js_render_frame_observer.cc
@@ -60,7 +60,8 @@ void DistillerJsRenderFrameObserver::RegisterMojoInterface() {
}
void DistillerJsRenderFrameObserver::CreateDistillerPageNotifierService(
- mojo::InterfaceRequest<mojom::DistillerPageNotifierService> request) {
+ const service_manager::BindSourceInfo& source_info,
+ mojom::DistillerPageNotifierServiceRequest request) {
mojo::MakeStrongBinding(
base::MakeUnique<DistillerPageNotifierServiceImpl>(this),
std::move(request));

Powered by Google App Engine
This is Rietveld 408576698