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

Unified Diff: components/viz/frame_sinks/gpu_compositor_frame_sink.cc

Issue 2807653003: Move Work From CompositorFrameSinkSupport() To Init() (Closed)
Patch Set: Add CompositorFrameSinkSupport::Create Created 3 years, 8 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/viz/frame_sinks/gpu_compositor_frame_sink.cc
diff --git a/components/viz/frame_sinks/gpu_compositor_frame_sink.cc b/components/viz/frame_sinks/gpu_compositor_frame_sink.cc
index f3240e8b36d3a30e142bd5839f62802695c8db88..3e4629559b41f1c7d52b916ee5bc5bd551170047 100644
--- a/components/viz/frame_sinks/gpu_compositor_frame_sink.cc
+++ b/components/viz/frame_sinks/gpu_compositor_frame_sink.cc
@@ -15,7 +15,7 @@ GpuCompositorFrameSink::GpuCompositorFrameSink(
compositor_frame_sink_private_request,
cc::mojom::MojoCompositorFrameSinkClientPtr client)
: delegate_(delegate),
- support_(base::MakeUnique<cc::CompositorFrameSinkSupport>(
+ support_(cc::CompositorFrameSinkSupport::Create(
this,
surface_manager,
frame_sink_id,
« no previous file with comments | « components/exo/compositor_frame_sink.cc ('k') | components/viz/frame_sinks/gpu_root_compositor_frame_sink.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698