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

Unified Diff: components/viz/frame_sinks/gpu_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_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 ffa80a8f45d044ce12573be5b876a183a75b882f..f688facb3cf816b61821d07c44c5814b5c1d57a9 100644
--- a/components/viz/frame_sinks/gpu_compositor_frame_sink.cc
+++ b/components/viz/frame_sinks/gpu_compositor_frame_sink.cc
@@ -27,6 +27,7 @@ GpuCompositorFrameSink::GpuCompositorFrameSink(
compositor_frame_sink_private_binding_(
this,
std::move(compositor_frame_sink_private_request)) {
+ support_->Init();
compositor_frame_sink_binding_.set_connection_error_handler(base::Bind(
&GpuCompositorFrameSink::OnClientConnectionLost, base::Unretained(this)));
compositor_frame_sink_private_binding_.set_connection_error_handler(

Powered by Google App Engine
This is Rietveld 408576698