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

Unified Diff: components/exo/compositor_frame_sink.cc

Issue 2612083002: DirectCompositorFrameSink Uses CompositorFrameSinkSupport (Closed)
Patch Set: addressed comments 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: components/exo/compositor_frame_sink.cc
diff --git a/components/exo/compositor_frame_sink.cc b/components/exo/compositor_frame_sink.cc
index 59a3ea4acb67a0ea7ba671f23b5f48a68ea7425a..28e94a8c0e1a59aa0a808bdfbfa13c78f2a9f45c 100644
--- a/components/exo/compositor_frame_sink.cc
+++ b/components/exo/compositor_frame_sink.cc
@@ -18,7 +18,12 @@ namespace exo {
CompositorFrameSink::CompositorFrameSink(const cc::FrameSinkId& frame_sink_id,
cc::SurfaceManager* surface_manager,
CompositorFrameSinkHolder* client)
- : support_(this, surface_manager, frame_sink_id, nullptr, nullptr),
+ : support_(this,
+ surface_manager,
+ frame_sink_id,
+ nullptr,
+ true /* handles_frame_sink_id_invalidation */,
+ true /* needs_sync_points */),
client_(client) {}
CompositorFrameSink::~CompositorFrameSink() {}

Powered by Google App Engine
This is Rietveld 408576698