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

Unified Diff: components/display_compositor/gpu_offscreen_compositor_frame_sink.cc

Issue 2703503002: WIP: move OffscreenCanvas into new display compositor
Patch Set: Refine connection lost 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/display_compositor/gpu_offscreen_compositor_frame_sink.cc
diff --git a/components/display_compositor/gpu_offscreen_compositor_frame_sink.cc b/components/display_compositor/gpu_offscreen_compositor_frame_sink.cc
index 26312dff3bba52310a787a7d9843064ceea5d9fc..28d1bb2257cc65aa25ee765c881f38e73c1a433d 100644
--- a/components/display_compositor/gpu_offscreen_compositor_frame_sink.cc
+++ b/components/display_compositor/gpu_offscreen_compositor_frame_sink.cc
@@ -14,16 +14,17 @@ GpuOffscreenCompositorFrameSink::GpuOffscreenCompositorFrameSink(
cc::mojom::MojoCompositorFrameSinkPrivateRequest
compositor_frame_sink_private_request,
cc::mojom::MojoCompositorFrameSinkClientPtr client)
- : GpuCompositorFrameSink(delegate,
- base::MakeUnique<cc::CompositorFrameSinkSupport>(
- this,
- surface_manager,
- frame_sink_id,
- false /* is_root */,
- true /* handles_frame_sink_id_invalidation */,
- true /* needs_sync_points */),
- std::move(compositor_frame_sink_private_request),
- std::move(client)),
+ : GpuCompositorFrameSinkBase(
+ delegate,
+ base::MakeUnique<cc::CompositorFrameSinkSupport>(
+ this,
+ surface_manager,
+ frame_sink_id,
+ false /* is_root */,
+ true /* handles_frame_sink_id_invalidation */,
+ true /* needs_sync_points */),
+ std::move(compositor_frame_sink_private_request),
+ std::move(client)),
binding_(this, std::move(request)) {
binding_.set_connection_error_handler(
base::Bind(&GpuOffscreenCompositorFrameSink::OnClientConnectionLost,

Powered by Google App Engine
This is Rietveld 408576698