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..ac28594252a7e19cf6d1387fa9d0d6f5c4427a3a 100644 |
--- a/content/browser/renderer_host/offscreen_canvas_compositor_frame_sink.cc |
+++ b/content/browser/renderer_host/offscreen_canvas_compositor_frame_sink.cc |
@@ -89,4 +89,18 @@ void OffscreenCanvasCompositorFrameSink::OnClientConnectionLost() { |
support_.frame_sink_id()); |
} |
+void OffscreenCanvasCompositorFrameSink::RequestCopyOfSurface( |
+ std::unique_ptr<cc::CopyOutputRequest> request, |
+ const RequestCopyOfSurfaceCallback& callback) { |
+ request->set_result_callback(callback); |
+ support_.RequestCopyOfSurface(std::move(request)); |
+} |
+ |
+void OffscreenCanvasCompositorFrameSink::DeleteMailbox( |
+ const gpu::Mailbox& mailbox, |
+ const ::gpu::SyncToken& sync_token, |
+ bool is_lost) { |
+ support_.DeleteMailbox(mailbox, sync_token, is_lost); |
+} |
+ |
} // namespace content |