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

Unified Diff: cc/surfaces/compositor_frame_sink_support.cc

Issue 2676353002: MojoCompositorFrameSinkPrivate should support copy requests (Closed)
Patch Set: Cleanup 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: cc/surfaces/compositor_frame_sink_support.cc
diff --git a/cc/surfaces/compositor_frame_sink_support.cc b/cc/surfaces/compositor_frame_sink_support.cc
index b6b2a66f34330ac5f7702d549bc507074f9fde5a..f6296560610621f56b7a7e67a969f386ac062cb1 100644
--- a/cc/surfaces/compositor_frame_sink_support.cc
+++ b/cc/surfaces/compositor_frame_sink_support.cc
@@ -245,4 +245,9 @@ void CompositorFrameSinkSupport::UpdateNeedsBeginFramesInternal() {
begin_frame_source_->RemoveObserver(this);
}
+void CompositorFrameSinkSupport::RequestCopyOfSurface(
+ std::unique_ptr<CopyOutputRequest> request) {
+ surface_factory_.RequestCopyOfSurface(std::move(request));
+}
+
} // namespace cc

Powered by Google App Engine
This is Rietveld 408576698