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

Unified Diff: cc/test/test_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: cc/test/test_compositor_frame_sink.cc
diff --git a/cc/test/test_compositor_frame_sink.cc b/cc/test/test_compositor_frame_sink.cc
index 523874f264e269a036d8c954804923bd67e99bc7..1c5665643656c2adf531f262b6f9e3b7c2dca414 100644
--- a/cc/test/test_compositor_frame_sink.cc
+++ b/cc/test/test_compositor_frame_sink.cc
@@ -164,7 +164,9 @@ void TestCompositorFrameSink::ForceReclaimResources() {
}
}
-void TestCompositorFrameSink::DidReceiveCompositorFrameAck() {
+void TestCompositorFrameSink::DidReceiveCompositorFrameAck(
+ const ReturnedResourceArray& resources) {
+ ReclaimResources(resources);
// In synchronous mode, we manually send acks and this method should not be
// used.
if (!display_->has_scheduler())

Powered by Google App Engine
This is Rietveld 408576698