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

Unified Diff: cc/surfaces/surface_factory.h

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.h
diff --git a/cc/surfaces/surface_factory.h b/cc/surfaces/surface_factory.h
index 29b3e488ab4dc06086bb68fc86407c6b5d6dbc4c..7330c55892621f5e6baa85e5c0950fa56c24f2b5 100644
--- a/cc/surfaces/surface_factory.h
+++ b/cc/surfaces/surface_factory.h
@@ -61,10 +61,6 @@ class CC_SURFACES_EXPORT SurfaceFactory : public PendingFrameObserver {
const DrawCallback& callback);
void RequestCopyOfSurface(std::unique_ptr<CopyOutputRequest> copy_request);
- // Evicts the current frame on the surface. All the resources
- // will be released and Surface::HasFrame will return false.
- void ClearSurface();
-
void WillDrawSurface(const LocalSurfaceId& id, const gfx::Rect& damage_rect);
SurfaceFactoryClient* client() { return client_; }

Powered by Google App Engine
This is Rietveld 408576698