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

Unified Diff: cc/surfaces/surface_factory.h

Issue 2757563003: Remove SurfaceFactory::Reset (Closed)
Patch Set: Created 3 years, 9 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 | « no previous file | cc/surfaces/surface_factory.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/surfaces/surface_factory.h
diff --git a/cc/surfaces/surface_factory.h b/cc/surfaces/surface_factory.h
index 911c044f33c2b76b9c14a966af922568fe6164d1..39a45fdff60cc831b16099c671225938e057a7f1 100644
--- a/cc/surfaces/surface_factory.h
+++ b/cc/surfaces/surface_factory.h
@@ -50,10 +50,6 @@ class CC_SURFACES_EXPORT SurfaceFactory : public PendingFrameObserver {
// the old surface will be dealt with).
void EvictSurface();
- // Destroys and disowns the current surface, and resets all resource
- // references. This is useful when resources are invalid (e.g. lost context).
- void Reset();
-
// Submits the frame to the current surface being managed by the factory if
// the local frame ids match, or creates a new surface with the given local
// frame id, destroys the old one, and submits the frame to this new surface.
« no previous file with comments | « no previous file | cc/surfaces/surface_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698