Chromium Code Reviews| Index: components/display_compositor/gpu_compositor_frame_sink.cc |
| diff --git a/components/display_compositor/gpu_compositor_frame_sink.cc b/components/display_compositor/gpu_compositor_frame_sink.cc |
| index 9c1a4df2f8a94af97d71e9e5943ad8dd52f324f5..410b419572ea297e1f50ba6a367a1ee40db1c724 100644 |
| --- a/components/display_compositor/gpu_compositor_frame_sink.cc |
| +++ b/components/display_compositor/gpu_compositor_frame_sink.cc |
| @@ -4,6 +4,7 @@ |
| #include "components/display_compositor/gpu_compositor_frame_sink.h" |
| +#include "cc/surfaces/surface_manager.h" |
| #include "cc/surfaces/surface_reference.h" |
| namespace display_compositor { |
| @@ -12,17 +13,17 @@ GpuCompositorFrameSink::GpuCompositorFrameSink( |
| GpuCompositorFrameSinkDelegate* delegate, |
| cc::SurfaceManager* surface_manager, |
| const cc::FrameSinkId& frame_sink_id, |
| - cc::Display* display, |
| cc::mojom::MojoCompositorFrameSinkPrivateRequest |
| compositor_frame_sink_private_request, |
| - cc::mojom::MojoCompositorFrameSinkClientPtr client) |
| + cc::mojom::MojoCompositorFrameSinkClientPtr client, |
| + bool has_display) |
| : delegate_(delegate), |
| support_(this, |
| surface_manager, |
|
danakj
2017/02/08 19:23:38
Pointing out that this class has a lot of construc
Alex Z.
2017/02/08 21:26:47
Done.
|
| frame_sink_id, |
| - display, |
| true /* handles_frame_sink_id_invalidation */, |
| - true /* needs_sync_points */), |
| + true /* needs_sync_points */, |
| + has_display), |
| surface_manager_(surface_manager), |
| client_(std::move(client)), |
| compositor_frame_sink_private_binding_( |