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

Unified Diff: services/ui/ws/gpu_compositor_frame_sink.cc

Issue 2521763002: Give ServerWindowCompositorFrameSinkManager ownership of GpuCompositorFrameSink (Closed)
Patch Set: Created 4 years, 1 month 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/ws/gpu_compositor_frame_sink.cc
diff --git a/services/ui/ws/gpu_compositor_frame_sink.cc b/services/ui/ws/gpu_compositor_frame_sink.cc
index 17ffc59a6842f9de6755454c221cb99fef5d6933..f6357580e4433d05e95ec8f9d04083f6a462aeec 100644
--- a/services/ui/ws/gpu_compositor_frame_sink.cc
+++ b/services/ui/ws/gpu_compositor_frame_sink.cc
@@ -33,13 +33,15 @@ GpuCompositorFrameSink::GpuCompositorFrameSink(
gpu::GpuMemoryBufferManager* gpu_memory_buffer_manager,
scoped_refptr<SurfacesContextProvider> context_provider,
cc::mojom::MojoCompositorFrameSinkRequest request,
+ cc::mojom::MojoCompositorFrameSinkPrivateRequest private_request,
cc::mojom::MojoCompositorFrameSinkClientPtr client)
: frame_sink_id_(frame_sink_id),
task_runner_(base::ThreadTaskRunnerHandle::Get()),
display_compositor_(display_compositor),
surface_factory_(frame_sink_id_, display_compositor_->manager(), this),
client_(std::move(client)),
- binding_(this, std::move(request)) {
+ binding_(this, std::move(request)),
+ private_binding_(this, std::move(private_request)) {
display_compositor_->manager()->RegisterFrameSinkId(frame_sink_id_);
display_compositor_->manager()->RegisterSurfaceFactoryClient(frame_sink_id_,
this);
« no previous file with comments | « services/ui/ws/gpu_compositor_frame_sink.h ('k') | services/ui/ws/server_window_compositor_frame_sink_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698