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

Unified Diff: android_webview/browser/surfaces_instance.cc

Issue 2696743002: Prepare CompositorFrameSinkSupport To Be Used By DirectCompositorFrameSink (Closed)
Patch Set: rebase android Created 3 years, 10 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 93f515526b549b23af5cf567b1e46958b37e3692..a66a1824e11a732be99cedbdf1470d380e025057 100644
--- a/android_webview/browser/surfaces_instance.cc
+++ b/android_webview/browser/surfaces_instance.cc
@@ -53,7 +53,9 @@ SurfacesInstance::SurfacesInstance()
surface_id_allocator_.reset(new cc::SurfaceIdAllocator());
support_.reset(new cc::CompositorFrameSinkSupport(
this, surface_manager_.get(), frame_sink_id_,
- true /* submits_to_display_compositor */));
+ true /* submits_to_display_compositor */,
+ true /* handles_frame_sink_id_invalidation */,
+ true /* 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