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

Unified Diff: services/ui/ws/window_server.cc

Issue 2400723003: Mus+Ash: Use standard cc mechanism for surface lifetime. (Closed)
Patch Set: Only AddObserver once Created 4 years, 2 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 | « services/ui/ws/window_server.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/ui/ws/window_server.cc
diff --git a/services/ui/ws/window_server.cc b/services/ui/ws/window_server.cc
index 0cc75afee9360603bd539d05a91e33e9086efdbc..ad3286e304cb863663784c32532c8a6f82abe32a 100644
--- a/services/ui/ws/window_server.cc
+++ b/services/ui/ws/window_server.cc
@@ -623,12 +623,6 @@ const ServerWindow* WindowServer::GetRootWindow(
return display ? display->root_window() : nullptr;
}
-void WindowServer::ScheduleSurfaceDestruction(ServerWindow* window) {
- Display* display = display_manager_->GetDisplayContaining(window);
- if (display)
- display->ScheduleSurfaceDestruction(window);
-}
-
void WindowServer::OnWindowDestroyed(ServerWindow* window) {
ProcessWindowDeleted(window);
}
« no previous file with comments | « services/ui/ws/window_server.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698