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

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

Issue 2326913003: Privatize StrongBinding lifetime management (Closed)
Patch Set: rebase Created 4 years, 3 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_page_notifier_service_impl.cc
diff --git a/components/dom_distiller/content/renderer/distiller_page_notifier_service_impl.cc b/components/dom_distiller/content/renderer/distiller_page_notifier_service_impl.cc
index d7f1983e7c49f6b6f165686f93bd2db6dcee8b43..9b7934c98578844e7a50d8e44adf7734041d80d6 100644
--- a/components/dom_distiller/content/renderer/distiller_page_notifier_service_impl.cc
+++ b/components/dom_distiller/content/renderer/distiller_page_notifier_service_impl.cc
@@ -8,13 +8,13 @@
#include "components/dom_distiller/content/renderer/distiller_js_render_frame_observer.h"
#include "components/dom_distiller/content/renderer/distiller_native_javascript.h"
+#include "mojo/public/cpp/bindings/strong_binding.h"
namespace dom_distiller {
DistillerPageNotifierServiceImpl::DistillerPageNotifierServiceImpl(
- DistillerJsRenderFrameObserver* observer,
- mojo::InterfaceRequest<mojom::DistillerPageNotifierService> request)
- : binding_(this, std::move(request)), distiller_js_observer_(observer) {}
+ DistillerJsRenderFrameObserver* observer)
+ : distiller_js_observer_(observer) {}
void DistillerPageNotifierServiceImpl::NotifyIsDistillerPage() {
// TODO(mdjones): Send some form of unique ID so this call knows

Powered by Google App Engine
This is Rietveld 408576698