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

Unified Diff: components/viz/frame_sinks/gpu_root_compositor_frame_sink.cc

Issue 2720803002: Pass returned resources to DidReceiveCompositorFrameAck (Closed)
Patch Set: c Created 3 years, 8 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/viz/frame_sinks/gpu_root_compositor_frame_sink.cc
diff --git a/components/viz/frame_sinks/gpu_root_compositor_frame_sink.cc b/components/viz/frame_sinks/gpu_root_compositor_frame_sink.cc
index e0b93de40665cd9cee6c0122688c8856ca50b4bb..8a452abee6771af27c4a2f699ef7169eb28fbcb6 100644
--- a/components/viz/frame_sinks/gpu_root_compositor_frame_sink.cc
+++ b/components/viz/frame_sinks/gpu_root_compositor_frame_sink.cc
@@ -115,9 +115,10 @@ void GpuRootCompositorFrameSink::DisplayWillDrawAndSwap(
void GpuRootCompositorFrameSink::DisplayDidDrawAndSwap() {}
-void GpuRootCompositorFrameSink::DidReceiveCompositorFrameAck() {
+void GpuRootCompositorFrameSink::DidReceiveCompositorFrameAck(
+ const cc::ReturnedResourceArray& resources) {
if (client_)
- client_->DidReceiveCompositorFrameAck();
+ client_->DidReceiveCompositorFrameAck(resources);
}
void GpuRootCompositorFrameSink::OnBeginFrame(const cc::BeginFrameArgs& args) {

Powered by Google App Engine
This is Rietveld 408576698