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

Unified Diff: services/ui/surfaces/gpu_offscreen_compositor_frame_sink.cc

Issue 2654693003: Decouple GpuCompositorFrameSink from DisplayCompositor (Closed)
Patch Set: Fix vars Created 3 years, 11 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/surfaces/gpu_offscreen_compositor_frame_sink.cc
diff --git a/services/ui/surfaces/gpu_offscreen_compositor_frame_sink.cc b/services/ui/surfaces/gpu_offscreen_compositor_frame_sink.cc
index 6b6567a9383c94d78ef399e3a27264674075db71..c61087ed9803550c9e5afef05d39f1a16f868efb 100644
--- a/services/ui/surfaces/gpu_offscreen_compositor_frame_sink.cc
+++ b/services/ui/surfaces/gpu_offscreen_compositor_frame_sink.cc
@@ -7,13 +7,15 @@
namespace ui {
GpuOffscreenCompositorFrameSink::GpuOffscreenCompositorFrameSink(
- DisplayCompositor* display_compositor,
+ cc::CompositorFrameSinkDelegate* delegate,
+ cc::SurfaceManager* surface_manager,
const cc::FrameSinkId& frame_sink_id,
cc::mojom::MojoCompositorFrameSinkRequest request,
cc::mojom::MojoCompositorFrameSinkPrivateRequest
compositor_frame_sink_private_request,
cc::mojom::MojoCompositorFrameSinkClientPtr client)
- : GpuCompositorFrameSink(display_compositor,
+ : GpuCompositorFrameSink(delegate,
+ surface_manager,
frame_sink_id,
nullptr,
nullptr,

Powered by Google App Engine
This is Rietveld 408576698