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

Unified Diff: components/display_compositor/gpu_offscreen_compositor_frame_sink.cc

Issue 2683583005: Move display_ From CompositorFrameSinkSupport To GpuDisplayCompositorFrameSink (Closed)
Patch Set: rebase Created 3 years, 10 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: components/display_compositor/gpu_offscreen_compositor_frame_sink.cc
diff --git a/components/display_compositor/gpu_offscreen_compositor_frame_sink.cc b/components/display_compositor/gpu_offscreen_compositor_frame_sink.cc
index e47474ded0a1409a02f7ecc2bbce0d2494493672..6223bb90c2df634d9a97c41b07089a53670bf993 100644
--- a/components/display_compositor/gpu_offscreen_compositor_frame_sink.cc
+++ b/components/display_compositor/gpu_offscreen_compositor_frame_sink.cc
@@ -15,10 +15,11 @@ GpuOffscreenCompositorFrameSink::GpuOffscreenCompositorFrameSink(
compositor_frame_sink_private_request,
cc::mojom::MojoCompositorFrameSinkClientPtr client)
: GpuCompositorFrameSink(delegate,
- surface_manager,
- frame_sink_id,
- nullptr,
- nullptr,
+ base::MakeUnique<cc::CompositorFrameSinkSupport>(
+ this,
+ surface_manager,
+ frame_sink_id,
+ false /* submits_to_display_compositor */),
std::move(compositor_frame_sink_private_request),
std::move(client)),
binding_(this, std::move(request)) {
« no previous file with comments | « components/display_compositor/gpu_display_compositor_frame_sink.cc ('k') | components/exo/compositor_frame_sink.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698