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

Unified Diff: components/display_compositor/gpu_root_compositor_frame_sink.cc

Issue 2715663007: Implement temporary reference assignment with DisplayCompositor. (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: components/display_compositor/gpu_root_compositor_frame_sink.cc
diff --git a/components/display_compositor/gpu_root_compositor_frame_sink.cc b/components/display_compositor/gpu_root_compositor_frame_sink.cc
index 4254c6b9f0a70601efc1e8a4e1de0f6020eac00b..90d39c3249e53bb6c3c41122ce16f9a69d902ef2 100644
--- a/components/display_compositor/gpu_root_compositor_frame_sink.cc
+++ b/components/display_compositor/gpu_root_compositor_frame_sink.cc
@@ -109,6 +109,11 @@ void GpuRootCompositorFrameSink::RemoveChildFrameSink(
support_->RemoveChildFrameSink(child_frame_sink_id);
}
+void GpuRootCompositorFrameSink::ClaimTemporaryReference(
+ const cc::SurfaceId& surface_id) {
+ support_->ClaimTemporaryReference(surface_id);
+}
+
void GpuRootCompositorFrameSink::RequestCopyOfSurface(
std::unique_ptr<cc::CopyOutputRequest> request) {
support_->RequestCopyOfSurface(std::move(request));

Powered by Google App Engine
This is Rietveld 408576698