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

Unified Diff: android_webview/browser/surfaces_instance.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: android_webview/browser/surfaces_instance.cc
diff --git a/android_webview/browser/surfaces_instance.cc b/android_webview/browser/surfaces_instance.cc
index 708cd3323755e9ba40f3fb7723d9890fc12fd1ac..8bd6b6849df58ccb008543d82a1b8d714d0751ee 100644
--- a/android_webview/browser/surfaces_instance.cc
+++ b/android_webview/browser/surfaces_instance.cc
@@ -62,6 +62,7 @@ SurfacesInstance::SurfacesInstance()
support_.reset(new cc::CompositorFrameSinkSupport(
this, surface_manager_.get(), frame_sink_id_, is_root,
handles_frame_sink_id_invalidation, needs_sync_points));
+ support_->Init();
begin_frame_source_.reset(new cc::StubBeginFrameSource);
std::unique_ptr<cc::TextureMailboxDeleter> texture_mailbox_deleter(

Powered by Google App Engine
This is Rietveld 408576698