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

Unified Diff: ui/display/manager/display_manager.cc

Issue 2932563002: Implement cursor changing on Mushrome (Closed)
Patch Set: why would you put that there Created 3 years, 6 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
Index: ui/display/manager/display_manager.cc
diff --git a/ui/display/manager/display_manager.cc b/ui/display/manager/display_manager.cc
index 05825cacfd1db31d8e445ca7bf12abf56a68109b..51e555e6036f783c33dbd6ff19de5afc350901da 100644
--- a/ui/display/manager/display_manager.cc
+++ b/ui/display/manager/display_manager.cc
@@ -697,13 +697,13 @@ void DisplayManager::UpdateDisplaysWith(
if (multi_display_mode_ != MIRRORING)
multi_display_mode_ = current_default_multi_display_mode_;
- CreateSoftwareMirroringDisplayInfo(&new_display_info_list);
-
// Close the mirroring window if any here to avoid creating two compositor on
// one display.
if (delegate_)
delegate_->CloseMirroringDisplayIfNotNecessary();
+ CreateSoftwareMirroringDisplayInfo(&new_display_info_list);
+
Displays new_displays;
Displays removed_displays;
std::map<size_t, uint32_t> display_changes;

Powered by Google App Engine
This is Rietveld 408576698