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

Unified Diff: resolution_selector.cc

Issue 3709001: monitor_reconfig: Disable LCD when using external monitor. (Closed) Base URL: ssh://git@gitrw.chromium.org:9222//monitor_reconfig.git
Patch Set: Created 10 years, 2 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 | « monitor_reconfigure_main.cc ('k') | resolution_selector_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: resolution_selector.cc
diff --git a/resolution_selector.cc b/resolution_selector.cc
index ac4e31b5c685471cdd9db5fd7b78cecf0ff35bcc..e13b0e0fe6a94e500388321fc81c181043f80026 100644
--- a/resolution_selector.cc
+++ b/resolution_selector.cc
@@ -46,7 +46,7 @@ bool ResolutionSelector::FindBestResolutions(
// built-in display.
if (max_external_size > kMaxProjectorPixels) {
*external_resolution = *screen_resolution = external_modes[0].name;
- *lcd_resolution = lcd_modes[0].name;
+ lcd_resolution->clear();
return true;
}
return FindNearestResolutions(
« no previous file with comments | « monitor_reconfigure_main.cc ('k') | resolution_selector_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698