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

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

Issue 2807653003: Move Work From CompositorFrameSinkSupport() To Init() (Closed)
Patch Set: More Init 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_root_compositor_frame_sink.cc
diff --git a/components/viz/frame_sinks/gpu_root_compositor_frame_sink.cc b/components/viz/frame_sinks/gpu_root_compositor_frame_sink.cc
index ec22fa2a26b7d21afe38c0e5aca22e3d8ab82aa9..e805e9ef50ee621d3b8d923f0c230d283c55428c 100644
--- a/components/viz/frame_sinks/gpu_root_compositor_frame_sink.cc
+++ b/components/viz/frame_sinks/gpu_root_compositor_frame_sink.cc
@@ -36,6 +36,7 @@ GpuRootCompositorFrameSink::GpuRootCompositorFrameSink(
this,
std::move(compositor_frame_sink_private_request)),
display_private_binding_(this, std::move(display_private_request)) {
+ support_->Init();
compositor_frame_sink_binding_.set_connection_error_handler(
base::Bind(&GpuRootCompositorFrameSink::OnClientConnectionLost,
base::Unretained(this)));

Powered by Google App Engine
This is Rietveld 408576698