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

Unified Diff: cc/surfaces/display_scheduler.cc

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
« no previous file with comments | « cc/surfaces/display_scheduler.h ('k') | cc/surfaces/display_scheduler_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/surfaces/display_scheduler.cc
diff --git a/cc/surfaces/display_scheduler.cc b/cc/surfaces/display_scheduler.cc
index 8265b87ab74079b38b3743ded92fbafdba711728..525465c0b211c83ad651145454ac8c091a95c6ec 100644
--- a/cc/surfaces/display_scheduler.cc
+++ b/cc/surfaces/display_scheduler.cc
@@ -141,7 +141,7 @@ void DisplayScheduler::SurfaceCreated(const SurfaceInfo& surface_info) {
surface_states_[surface_id] = SurfaceBeginFrameState();
}
-void DisplayScheduler::SurfaceDestroyed(const SurfaceId& surface_id) {
+void DisplayScheduler::SurfaceDiscarded(const SurfaceId& surface_id) {
auto it = surface_states_.find(surface_id);
if (it == surface_states_.end())
return;
« no previous file with comments | « cc/surfaces/display_scheduler.h ('k') | cc/surfaces/display_scheduler_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698