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

Unified Diff: cc/surfaces/surface_display_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/surfaces/display.cc ('k') | cc/test/fake_output_surface.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/surfaces/surface_display_output_surface.cc
diff --git a/cc/surfaces/surface_display_output_surface.cc b/cc/surfaces/surface_display_output_surface.cc
index dbddc66c914b9b6de80374de4c42f13af3dd0eea..cc49517b46d09cb36663e00b6cfa056d333f7b3f 100644
--- a/cc/surfaces/surface_display_output_surface.cc
+++ b/cc/surfaces/surface_display_output_surface.cc
@@ -6,7 +6,6 @@
#include "base/bind.h"
#include "cc/output/compositor_frame.h"
-#include "cc/output/compositor_frame_ack.h"
#include "cc/surfaces/display.h"
#include "cc/surfaces/surface.h"
#include "cc/surfaces/surface_id_allocator.h"
@@ -134,10 +133,8 @@ uint32_t SurfaceDisplayOutputSurface::GetFramebufferCopyTextureFormat() {
void SurfaceDisplayOutputSurface::ReturnResources(
const ReturnedResourceArray& resources) {
- CompositorFrameAck ack;
- ack.resources = resources;
if (client_)
- client_->ReclaimResources(&ack);
+ client_->ReclaimResources(resources);
}
void SurfaceDisplayOutputSurface::SetBeginFrameSource(
« no previous file with comments | « cc/surfaces/display.cc ('k') | cc/test/fake_output_surface.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698