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

Unified Diff: services/ui/gpu/display_compositor/compositor_frame_sink_factory_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: services/ui/gpu/display_compositor/compositor_frame_sink_factory_impl.cc
diff --git a/services/ui/gpu/display_compositor/compositor_frame_sink_factory_impl.cc b/services/ui/gpu/display_compositor/compositor_frame_sink_factory_impl.cc
index 1dea3d0811217a7c69a6e1639d847b575b0b4b21..589de5ecda805aa7e19644b4af4c73efe774d592 100644
--- a/services/ui/gpu/display_compositor/compositor_frame_sink_factory_impl.cc
+++ b/services/ui/gpu/display_compositor/compositor_frame_sink_factory_impl.cc
@@ -13,12 +13,10 @@ namespace gpu {
CompositorFrameSinkFactoryImpl::CompositorFrameSinkFactoryImpl(
uint32_t client_id,
- mojo::InterfaceRequest<mojom::CompositorFrameSinkFactory> request,
const scoped_refptr<SurfacesState>& surfaces_state)
: client_id_(client_id),
surfaces_state_(surfaces_state),
- allocator_(client_id),
- binding_(this, std::move(request)) {}
+ allocator_(client_id) {}
CompositorFrameSinkFactoryImpl::~CompositorFrameSinkFactoryImpl() {}

Powered by Google App Engine
This is Rietveld 408576698