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

Unified Diff: services/ui/ws/window_manager_window_tree_factory_set.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_manager_window_tree_factory_set.h ('k') | services/ui/ws/window_server.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/ui/ws/window_manager_window_tree_factory_set.cc
diff --git a/services/ui/ws/window_manager_window_tree_factory_set.cc b/services/ui/ws/window_manager_window_tree_factory_set.cc
index 50e7822790fe3054272cc42ee8027a312fbe10dc..4d1981c5c177cbdfc60a645bb77ad21214b59edd 100644
--- a/services/ui/ws/window_manager_window_tree_factory_set.cc
+++ b/services/ui/ws/window_manager_window_tree_factory_set.cc
@@ -80,15 +80,8 @@ void WindowManagerWindowTreeFactorySet::RemoveObserver(
void WindowManagerWindowTreeFactorySet::OnWindowManagerWindowTreeFactoryReady(
WindowManagerWindowTreeFactory* factory) {
- const bool is_first_valid_factory = !got_valid_factory_;
- got_valid_factory_ = true;
for (auto& observer : observers_)
observer.OnWindowManagerWindowTreeFactoryReady(factory);
-
- // Notify after other observers as WindowServer triggers other
- // observers being added, which will have already processed the add.
- if (is_first_valid_factory)
- window_server_->OnFirstWindowManagerWindowTreeFactoryReady();
}
void WindowManagerWindowTreeFactorySet::OnUserIdRemoved(const UserId& id) {
« no previous file with comments | « services/ui/ws/window_manager_window_tree_factory_set.h ('k') | services/ui/ws/window_server.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698