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

Unified Diff: ash/display/display_manager.cc

Issue 214693010: Remove USE_X11==1 check when including OutputConfigurator (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased Created 6 years, 9 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 | « ash/display/display_controller.cc ('k') | ash/shell.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/display/display_manager.cc
diff --git a/ash/display/display_manager.cc b/ash/display/display_manager.cc
index 31a78c411910331af15d178d6d06ce515e39ac1d..fb4bd6eeb46e7be72f7b24226e2582cddc5da607 100644
--- a/ash/display/display_manager.cc
+++ b/ash/display/display_manager.cc
@@ -454,7 +454,7 @@ void DisplayManager::SetDisplayResolution(int64 display_id,
return;
}
display_modes_[display_id] = *iter;
-#if defined(OS_CHROMEOS) && defined(USE_X11)
+#if defined(OS_CHROMEOS)
if (base::SysInfo::IsRunningOnChromeOS())
Shell::GetInstance()->output_configurator()->OnConfigurationChanged();
#endif
« no previous file with comments | « ash/display/display_controller.cc ('k') | ash/shell.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698