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

Unified Diff: components/contextual_search/renderer/overlay_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/contextual_search/renderer/overlay_page_notifier_service_impl.cc
diff --git a/components/contextual_search/renderer/overlay_page_notifier_service_impl.cc b/components/contextual_search/renderer/overlay_page_notifier_service_impl.cc
index 79f72cb54b8185a38ebe43a98347fe0c93fd6451..c0ebfc4c607c99f17d9bf322d5ab1860d6efcb1c 100644
--- a/components/contextual_search/renderer/overlay_page_notifier_service_impl.cc
+++ b/components/contextual_search/renderer/overlay_page_notifier_service_impl.cc
@@ -11,9 +11,8 @@
namespace contextual_search {
OverlayPageNotifierServiceImpl::OverlayPageNotifierServiceImpl(
- base::WeakPtr<OverlayJsRenderFrameObserver> observer,
- mojo::InterfaceRequest<mojom::OverlayPageNotifierService> request)
- : binding_(this, std::move(request)), overlay_js_observer_(observer) {}
+ base::WeakPtr<OverlayJsRenderFrameObserver> observer)
+ : overlay_js_observer_(observer) {}
OverlayPageNotifierServiceImpl::~OverlayPageNotifierServiceImpl() {}

Powered by Google App Engine
This is Rietveld 408576698