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

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

Issue 2290363002: services/ui: Set the gpu_channel_ to new added displays. (Closed)
Patch Set: Created 4 years, 4 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 | « no previous file | 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/display_manager.cc
diff --git a/services/ui/ws/display_manager.cc b/services/ui/ws/display_manager.cc
index 70b3b58fec5e6884927d07160546737de4ba5808..56920038047fc651ab42cc6335c6c57fdcd13a40 100644
--- a/services/ui/ws/display_manager.cc
+++ b/services/ui/ws/display_manager.cc
@@ -139,7 +139,7 @@ void DisplayManager::OnDisplayAcceleratedWidgetAvailable(Display* display) {
displays_.insert(display);
pending_displays_.erase(display);
if (is_first_display)
- window_server_->OnFirstDisplayReady();
+ window_server_->OnDisplayReady(display, is_first_display);
}
void DisplayManager::OnActiveUserIdChanged(const UserId& previously_active_id,
« no previous file with comments | « no previous file | services/ui/ws/window_server.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698