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

Unified Diff: components/display_compositor/gpu_compositor_frame_sink.cc

Issue 2676353002: MojoCompositorFrameSinkPrivate should support copy requests (Closed)
Patch Set: Remove callback 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
« no previous file with comments | « components/display_compositor/gpu_compositor_frame_sink.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 ac1584bc911155da467f1ed27e6918a6d92d9ab5..67abfeaf02a593926ceda091e4917854cd27e27d 100644
--- a/components/display_compositor/gpu_compositor_frame_sink.cc
+++ b/components/display_compositor/gpu_compositor_frame_sink.cc
@@ -95,4 +95,9 @@ void GpuCompositorFrameSink::OnPrivateConnectionLost() {
client_connection_lost_);
}
+void GpuCompositorFrameSink::RequestCopyOfSurface(
+ std::unique_ptr<cc::CopyOutputRequest> request) {
+ support_->RequestCopyOfSurface(std::move(request));
+}
+
} // namespace display_compositor
« no previous file with comments | « components/display_compositor/gpu_compositor_frame_sink.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698