Index: components/display_compositor/gpu_compositor_frame_sink.cc |
diff --git a/components/display_compositor/gpu_compositor_frame_sink.cc b/components/display_compositor/gpu_compositor_frame_sink.cc |
index 9a6347f146602e13ddc0e7a36ba5759fb34f825f..9ee9d01b72a29c5678e709d3cd4f230f91dafe65 100644 |
--- a/components/display_compositor/gpu_compositor_frame_sink.cc |
+++ b/components/display_compositor/gpu_compositor_frame_sink.cc |
@@ -150,4 +150,17 @@ void GpuCompositorFrameSink::OnPrivateConnectionLost() { |
client_connection_lost_); |
} |
+void GpuCompositorFrameSink::RequestCopyOfSurface( |
+ std::unique_ptr<cc::CopyOutputRequest> request, |
+ const RequestCopyOfSurfaceCallback& callback) { |
+ request->set_result_callback(callback); |
+ support_.RequestCopyOfSurface(std::move(request)); |
+} |
+ |
+void GpuCompositorFrameSink::DeleteMailbox(const gpu::Mailbox& mailbox, |
+ const ::gpu::SyncToken& sync_token, |
+ bool is_lost) { |
+ support_.DeleteMailbox(mailbox, sync_token, is_lost); |
+} |
+ |
} // namespace display_compositor |