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

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

Issue 2330093003: Fix adding displays in mustash. (Closed)
Patch Set: Created 4 years, 3 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/display.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/ui/ws/display_manager.cc
diff --git a/services/ui/ws/display_manager.cc b/services/ui/ws/display_manager.cc
index 52b1ae1801010471305e1b6c6f09482676c2a02f..5481c5e7227d04c54bc76aeceb33d11f0ca18e46 100644
--- a/services/ui/ws/display_manager.cc
+++ b/services/ui/ws/display_manager.cc
@@ -146,8 +146,7 @@ void DisplayManager::OnDisplayAcceleratedWidgetAvailable(Display* display) {
const bool is_first_display = displays_.empty();
displays_.insert(display);
pending_displays_.erase(display);
- if (is_first_display)
- window_server_->OnDisplayReady(display, is_first_display);
+ window_server_->OnDisplayReady(display, is_first_display);
}
void DisplayManager::OnActiveUserIdChanged(const UserId& previously_active_id,
« no previous file with comments | « services/ui/ws/display.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698