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

Unified Diff: cc/surfaces/direct_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: cc/surfaces/direct_compositor_frame_sink.cc
diff --git a/cc/surfaces/direct_compositor_frame_sink.cc b/cc/surfaces/direct_compositor_frame_sink.cc
index a3c55c0beb062fa23a1f90bef7ab42768d77aa70..3e3cb20f8110791806c40e6e8fda27ff5a67c34b 100644
--- a/cc/surfaces/direct_compositor_frame_sink.cc
+++ b/cc/surfaces/direct_compositor_frame_sink.cc
@@ -73,6 +73,7 @@ bool DirectCompositorFrameSink::BindToClient(
this, surface_manager_, frame_sink_id_, is_root,
handles_frame_sink_id_invalidation,
capabilities_.delegated_sync_points_required);
+ support_->Init();
begin_frame_source_ = base::MakeUnique<ExternalBeginFrameSource>(this);
client_->SetBeginFrameSource(begin_frame_source_.get());

Powered by Google App Engine
This is Rietveld 408576698