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

Unified Diff: services/ui/public/cpp/output_surface.cc

Issue 2329623003: cc: Remove unneeded methods from OutputSurface. (Closed)
Patch Set: superandroid Created 4 years, 3 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 | « content/renderer/gpu/compositor_output_surface.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/ui/public/cpp/output_surface.cc
diff --git a/services/ui/public/cpp/output_surface.cc b/services/ui/public/cpp/output_surface.cc
index 1309de242787c4248cda0dd39102953de5794d22..82802cfdcdc34982ae0cd51cbd381678551e80fc 100644
--- a/services/ui/public/cpp/output_surface.cc
+++ b/services/ui/public/cpp/output_surface.cc
@@ -70,7 +70,7 @@ void OutputSurface::SwapBuffers(cc::CompositorFrame frame) {
void OutputSurface::OnResourcesReturned(
ui::WindowSurface* surface,
mojo::Array<cc::ReturnedResource> resources) {
- ReclaimResources(resources.To<cc::ReturnedResourceArray>());
+ client_->ReclaimResources(resources.To<cc::ReturnedResourceArray>());
}
void OutputSurface::SwapBuffersComplete() {
« no previous file with comments | « content/renderer/gpu/compositor_output_surface.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698