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

Unified Diff: cc/surfaces/surface_observer.h

Issue 2918883002: cc: Get rid of SurfaceDestroyed and use SurfaceDiscarded instead
Patch Set: Updated Created 3 years, 7 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_observer.h
diff --git a/cc/surfaces/surface_observer.h b/cc/surfaces/surface_observer.h
index c57f07e5f2583e6c8103672db1aac9db4cd125ff..fcb40ba867aeb4e9d61673f1da3658cfac7f8b24 100644
--- a/cc/surfaces/surface_observer.h
+++ b/cc/surfaces/surface_observer.h
@@ -18,9 +18,6 @@ class SurfaceObserver {
// first time.
virtual void OnSurfaceCreated(const SurfaceInfo& surface_info) = 0;
- // Runs when a Surface was marked to be destroyed.
- virtual void OnSurfaceDestroyed(const SurfaceId& surface_id) = 0;
-
// Runs when a Surface is modified, e.g. when a CompositorFrame is
// activated, its producer confirms that no CompositorFrame will be submitted
// in response to a BeginFrame, or a CopyOutputRequest is issued.

Powered by Google App Engine
This is Rietveld 408576698