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

Unified Diff: cc/surfaces/compositor_frame_sink_support.cc

Issue 2822143003: Remove ForceReclaimResources (Closed)
Patch Set: Rebase. 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/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 84b0a41d9ccab9613dffa7138ecbb78d6f13b5ef..fb26335fa6e12e46d13aa3a06b46bffee49e1b03 100644
--- a/cc/surfaces/compositor_frame_sink_support.cc
+++ b/cc/surfaces/compositor_frame_sink_support.cc
@@ -211,11 +211,6 @@ void CompositorFrameSinkSupport::DidReceiveCompositorFrameAck() {
surface_returned_resources_.clear();
}
-void CompositorFrameSinkSupport::ForceReclaimResources() {
- DCHECK(surface_factory_);
- surface_factory_->ClearSurface();
-}
-
void CompositorFrameSinkSupport::ClaimTemporaryReference(
const SurfaceId& surface_id) {
surface_manager_->AssignTemporaryReference(surface_id, frame_sink_id_);

Powered by Google App Engine
This is Rietveld 408576698