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

Unified Diff: cc/surfaces/surface_factory.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/surface_factory.cc
diff --git a/cc/surfaces/surface_factory.cc b/cc/surfaces/surface_factory.cc
index 45eb882119bf9380a13729493a72217345c41991..5ec576304509e561aed78774a7771624160223b5 100644
--- a/cc/surfaces/surface_factory.cc
+++ b/cc/surfaces/surface_factory.cc
@@ -84,13 +84,6 @@ void SurfaceFactory::RequestCopyOfSurface(
manager_->SurfaceModified(current_surface_->surface_id());
}
-void SurfaceFactory::ClearSurface() {
- if (!current_surface_)
- return;
- current_surface_->EvictFrame();
- manager_->SurfaceModified(current_surface_->surface_id());
-}
-
void SurfaceFactory::WillDrawSurface(const LocalSurfaceId& id,
const gfx::Rect& damage_rect) {
client_->WillDrawSurface(id, damage_rect);

Powered by Google App Engine
This is Rietveld 408576698