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

Unified Diff: cc/test/test_delegating_output_surface.cc

Issue 2147873003: cc: Dedup IPCs to return resources to client (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased Created 4 years, 5 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 | « cc/test/layer_tree_test.cc ('k') | cc/trees/layer_tree_host_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/test/test_delegating_output_surface.cc
diff --git a/cc/test/test_delegating_output_surface.cc b/cc/test/test_delegating_output_surface.cc
index d681f1c5cb94c6ab6432a776f16a2941ed67b07d..1865762e7a245b6c216469dc7e4d4549f16a5b85 100644
--- a/cc/test/test_delegating_output_surface.cc
+++ b/cc/test/test_delegating_output_surface.cc
@@ -8,7 +8,6 @@
#include <utility>
#include "cc/output/begin_frame_args.h"
-#include "cc/output/compositor_frame_ack.h"
#include "cc/test/begin_frame_args_test.h"
static constexpr uint32_t kCompositorClientId = 1;
@@ -119,9 +118,7 @@ uint32_t TestDelegatingOutputSurface::GetFramebufferCopyTextureFormat() {
void TestDelegatingOutputSurface::ReturnResources(
const ReturnedResourceArray& resources) {
- CompositorFrameAck ack;
- ack.resources = resources;
- client_->ReclaimResources(&ack);
+ client_->ReclaimResources(resources);
}
void TestDelegatingOutputSurface::SetBeginFrameSource(
« no previous file with comments | « cc/test/layer_tree_test.cc ('k') | cc/trees/layer_tree_host_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698