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

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

Issue 2484223006: Remove CreateDefaultDisplay(). (Closed)
Patch Set: Remove debug LOG. Created 4 years, 1 month 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') | services/ui/ws/window_server_delegate.h » ('j') | 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 e3da19d96ba8648de7e6b528c02776089600df95..6fc2028621bedb8e362d42941e131bc109e7091a 100644
--- a/services/ui/ws/window_server.cc
+++ b/services/ui/ws/window_server.cc
@@ -234,16 +234,6 @@ const WindowTree* WindowServer::GetTreeWithRoot(
return nullptr;
}
-void WindowServer::OnFirstWindowManagerWindowTreeFactoryReady() {
- if (display_manager_->has_active_or_pending_displays())
- return;
-
- // We've been supplied a WindowManagerFactory and no displays have been
- // created yet. Treat this as a signal to create a Display.
- // TODO(sky): we need a better way to determine this, most likely a switch.
- delegate_->CreateDefaultDisplays();
-}
-
UserActivityMonitor* WindowServer::GetUserActivityMonitorForUser(
const UserId& user_id) {
DCHECK_GT(activity_monitor_map_.count(user_id), 0u);
« no previous file with comments | « services/ui/ws/window_server.h ('k') | services/ui/ws/window_server_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698