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

Unified Diff: ui/display/chromeos/update_display_configuration_task.cc

Issue 2170603004: Allow idle/suspend with 3+ monitors attached (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@2785
Patch Set: Created 4 years, 5 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 | « ui/display/chromeos/display_configurator_unittest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/display/chromeos/update_display_configuration_task.cc
diff --git a/ui/display/chromeos/update_display_configuration_task.cc b/ui/display/chromeos/update_display_configuration_task.cc
index 5fa7ac7f9fb303d72afa24fc5ab02ff590c4203d..db8dffb3aca1f666a985306129beb2ad17a2f052 100644
--- a/ui/display/chromeos/update_display_configuration_task.cc
+++ b/ui/display/chromeos/update_display_configuration_task.cc
@@ -204,7 +204,7 @@ MultipleDisplayState UpdateDisplayConfigurationTask::ChooseDisplayState()
return state_controller->GetStateForDisplayIds(cached_displays_);
}
- if (num_on_displays >= 3) {
+ if (num_displays >= 3) {
// 3+ displays are always extended
return MULTIPLE_DISPLAY_STATE_MULTI_EXTENDED;
}
« no previous file with comments | « ui/display/chromeos/display_configurator_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698