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

Unified Diff: content/renderer/android/synchronous_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: content/renderer/android/synchronous_compositor_frame_sink.cc
diff --git a/content/renderer/android/synchronous_compositor_frame_sink.cc b/content/renderer/android/synchronous_compositor_frame_sink.cc
index e2345652ba0989206dc1b38ecde242219746a1f1..ba35f5e90794704e401660d88a9717f407394d33 100644
--- a/content/renderer/android/synchronous_compositor_frame_sink.cc
+++ b/content/renderer/android/synchronous_compositor_frame_sink.cc
@@ -178,9 +178,11 @@ bool SynchronousCompositorFrameSink::BindToClient(
root_support_.reset(new cc::CompositorFrameSinkSupport(
this, surface_manager_.get(), kRootFrameSinkId, root_support_is_root,
handles_frame_sink_id_invalidation, needs_sync_points));
+ root_support_->Init();
child_support_.reset(new cc::CompositorFrameSinkSupport(
this, surface_manager_.get(), kChildFrameSinkId, child_support_is_root,
handles_frame_sink_id_invalidation, needs_sync_points));
+ child_support_->Init();
cc::RendererSettings software_renderer_settings;

Powered by Google App Engine
This is Rietveld 408576698