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

Unified Diff: services/ui/gpu/display_compositor/compositor_frame_sink_factory_impl.h

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.h
diff --git a/services/ui/gpu/display_compositor/compositor_frame_sink_factory_impl.h b/services/ui/gpu/display_compositor/compositor_frame_sink_factory_impl.h
index 004f264bb73750723d131140a29562b33766f71b..96cbf3818234661102d2d25cbb4a2766463a126e 100644
--- a/services/ui/gpu/display_compositor/compositor_frame_sink_factory_impl.h
+++ b/services/ui/gpu/display_compositor/compositor_frame_sink_factory_impl.h
@@ -6,7 +6,6 @@
#define SERVICES_UI_GPU_DISPLAY_COMPOSITOR_COMPOSITOR_FRAME_SINK_FACTORY_IMPL_H_
#include "cc/surfaces/surface_id_allocator.h"
-#include "mojo/public/cpp/bindings/strong_binding.h"
#include "services/ui/gpu/display_compositor/compositor_frame_sink_delegate.h"
#include "services/ui/public/interfaces/gpu/display_compositor.mojom.h"
#include "services/ui/surfaces/surfaces_state.h"
@@ -21,7 +20,6 @@ class CompositorFrameSinkFactoryImpl : public mojom::CompositorFrameSinkFactory,
public:
CompositorFrameSinkFactoryImpl(
uint32_t client_id,
- mojo::InterfaceRequest<mojom::CompositorFrameSinkFactory> request,
const scoped_refptr<SurfacesState>& surfaces_state);
~CompositorFrameSinkFactoryImpl() override;
@@ -44,7 +42,6 @@ class CompositorFrameSinkFactoryImpl : public mojom::CompositorFrameSinkFactory,
using CompositorFrameSinkMap =
std::map<uint32_t, std::unique_ptr<CompositorFrameSinkImpl>>;
CompositorFrameSinkMap sinks_;
- mojo::StrongBinding<mojom::CompositorFrameSinkFactory> binding_;
DISALLOW_COPY_AND_ASSIGN(CompositorFrameSinkFactoryImpl);
};
« no previous file with comments | « services/shell/standalone/context.cc ('k') | services/ui/gpu/display_compositor/compositor_frame_sink_factory_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698