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

Unified Diff: cc/surfaces/compositor_frame_sink_support.cc

Issue 2822143003: Remove ForceReclaimResources (Closed)
Patch Set: Change to RunLoop. 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
« no previous file with comments | « cc/surfaces/compositor_frame_sink_support.h ('k') | cc/surfaces/direct_compositor_frame_sink.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/surfaces/compositor_frame_sink_support.cc
diff --git a/cc/surfaces/compositor_frame_sink_support.cc b/cc/surfaces/compositor_frame_sink_support.cc
index 7fc9e6556d46ce13067d902aa23a44019747c27e..3195e4a51061b90d67f88b7589f1549a271d1dcd 100644
--- a/cc/surfaces/compositor_frame_sink_support.cc
+++ b/cc/surfaces/compositor_frame_sink_support.cc
@@ -213,11 +213,6 @@ void CompositorFrameSinkSupport::WillDrawSurface(
client_->WillDrawSurface(local_surface_id, damage_rect);
}
-void CompositorFrameSinkSupport::ForceReclaimResources() {
- DCHECK(surface_factory_);
- surface_factory_->ClearSurface();
-}
-
void CompositorFrameSinkSupport::ClaimTemporaryReference(
const SurfaceId& surface_id) {
surface_manager_->AssignTemporaryReference(surface_id, frame_sink_id_);
« no previous file with comments | « cc/surfaces/compositor_frame_sink_support.h ('k') | cc/surfaces/direct_compositor_frame_sink.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698