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

Unified Diff: android_webview/browser/surfaces_instance.cc

Issue 2807653003: Move Work From CompositorFrameSinkSupport() To Init() (Closed)
Patch Set: Set needs_sync_points 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..df79976d66c5cfddd6138fc5fd9e674945c356e8 100644
--- a/android_webview/browser/surfaces_instance.cc
+++ b/android_webview/browser/surfaces_instance.cc
@@ -60,8 +60,8 @@ SurfacesInstance::SurfacesInstance()
constexpr bool handles_frame_sink_id_invalidation = true;
constexpr bool needs_sync_points = true;
support_.reset(new cc::CompositorFrameSinkSupport(
- this, surface_manager_.get(), frame_sink_id_, is_root,
- handles_frame_sink_id_invalidation, needs_sync_points));
+ this, frame_sink_id_, is_root, handles_frame_sink_id_invalidation));
+ support_->Init(surface_manager_.get(), needs_sync_points);
begin_frame_source_.reset(new cc::StubBeginFrameSource);
std::unique_ptr<cc::TextureMailboxDeleter> texture_mailbox_deleter(

Powered by Google App Engine
This is Rietveld 408576698