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

Unified Diff: cc/surfaces/display_scheduler.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/display_scheduler.h
diff --git a/cc/surfaces/display_scheduler.h b/cc/surfaces/display_scheduler.h
index 536c55b08610582348d8eb5f7cc6cdb4cf0909fd..0d1308dd125b9bdd901bb62cdf624fa5e328e5c2 100644
--- a/cc/surfaces/display_scheduler.h
+++ b/cc/surfaces/display_scheduler.h
@@ -48,7 +48,7 @@ class CC_SURFACES_EXPORT DisplayScheduler : public BeginFrameObserverBase {
const BeginFrameAck& ack,
bool display_damaged);
void SurfaceCreated(const SurfaceInfo& surface_info);
- void SurfaceDestroyed(const SurfaceId& surface_id);
+ void SurfaceDiscarded(const SurfaceId& surface_id);
void SurfaceDamageExpected(const SurfaceId& surface_id,
const BeginFrameArgs& args);

Powered by Google App Engine
This is Rietveld 408576698