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

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

Issue 2152303002: Allow idle/suspend with 3+ monitors attached (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@fix-power-state
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
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;
}

Powered by Google App Engine
This is Rietveld 408576698