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

Unified Diff: services/ui/surfaces/gpu_display_compositor_frame_sink.h

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_display_compositor_frame_sink.h
diff --git a/services/ui/surfaces/gpu_display_compositor_frame_sink.h b/services/ui/surfaces/gpu_display_compositor_frame_sink.h
index 15bba8a58fe008c23d4d6a015134eaf6c6e1a644..a2435ac01bda3b838184b79166aa50f19ec2dc48 100644
--- a/services/ui/surfaces/gpu_display_compositor_frame_sink.h
+++ b/services/ui/surfaces/gpu_display_compositor_frame_sink.h
@@ -14,7 +14,8 @@ class GpuDisplayCompositorFrameSink : public GpuCompositorFrameSink,
public cc::mojom::DisplayPrivate {
public:
GpuDisplayCompositorFrameSink(
- DisplayCompositor* display_compositor,
+ cc::CompositorFrameSinkDelegate* delegate,
+ cc::SurfaceManager* surface_manager,
const cc::FrameSinkId& frame_sink_id,
std::unique_ptr<cc::Display> display,
std::unique_ptr<cc::BeginFrameSource> begin_frame_source,

Powered by Google App Engine
This is Rietveld 408576698