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

Unified Diff: content/browser/renderer_host/offscreen_canvas_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: content/browser/renderer_host/offscreen_canvas_compositor_frame_sink.cc
diff --git a/content/browser/renderer_host/offscreen_canvas_compositor_frame_sink.cc b/content/browser/renderer_host/offscreen_canvas_compositor_frame_sink.cc
index c4a16f2fadb5906a7521d1e0021a877ca08ca8ce..c729f6dac991ecae2e56b6acf9fee4ab10bce632 100644
--- a/content/browser/renderer_host/offscreen_canvas_compositor_frame_sink.cc
+++ b/content/browser/renderer_host/offscreen_canvas_compositor_frame_sink.cc
@@ -22,7 +22,8 @@ OffscreenCanvasCompositorFrameSink::OffscreenCanvasCompositorFrameSink(
provider->GetSurfaceManager(),
frame_sink_id,
nullptr,
- nullptr),
+ true /* handles_frame_sink_id_invalidation */,
+ true /* needs_sync_points */),
client_(std::move(client)),
binding_(this, std::move(request)) {
binding_.set_connection_error_handler(

Powered by Google App Engine
This is Rietveld 408576698