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

Unified Diff: ash/display/display_controller.cc

Issue 1149063004: Revert of Save and restore unified mode (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 7 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 | ash/display/display_layout.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/display/display_controller.cc
diff --git a/ash/display/display_controller.cc b/ash/display/display_controller.cc
index d406737098796b4ccc8fb006915107883b8e5ebf..c9d82a3c6944f0eb6d9050c00ea8bc0022726243 100644
--- a/ash/display/display_controller.cc
+++ b/ash/display/display_controller.cc
@@ -845,10 +845,7 @@
DisplayLayoutStore* layout_store = display_manager->layout_store();
if (display_manager->num_connected_displays() > 1) {
DisplayIdPair pair = display_manager->GetCurrentDisplayIdPair();
- layout_store->UpdateMultiDisplayState(
- pair, display_manager->IsInMirrorMode(),
- display_manager->default_multi_display_mode() ==
- DisplayManager::UNIFIED);
+ layout_store->UpdateMirrorStatus(pair, display_manager->IsInMirrorMode());
if (Shell::GetScreen()->GetNumDisplays() > 1 ) {
DisplayLayout layout = layout_store->GetRegisteredDisplayLayout(pair);
« no previous file with comments | « no previous file | ash/display/display_layout.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698