summaryrefslogtreecommitdiffstats
path: root/ui/gfx
diff options
context:
space:
mode:
Diffstat (limited to 'ui/gfx')
-rw-r--r--ui/gfx/sys_color_change_listener.cc10
1 files changed, 7 insertions, 3 deletions
diff --git a/ui/gfx/sys_color_change_listener.cc b/ui/gfx/sys_color_change_listener.cc
index b6e321c..8a6f43b 100644
--- a/ui/gfx/sys_color_change_listener.cc
+++ b/ui/gfx/sys_color_change_listener.cc
@@ -31,9 +31,13 @@ void UpdateInvertedColorScheme() {
color_utils::GetSysSkColor(COLOR_WINDOW));
HIGHCONTRAST high_contrast = {0};
high_contrast.cbSize = sizeof(HIGHCONTRAST);
- g_is_inverted_color_scheme =
- SystemParametersInfo(SPI_GETHIGHCONTRAST, 0, &high_contrast, 0) &&
- ((high_contrast.dwFlags & HCF_HIGHCONTRASTON) != 0);
+
+ // TODO(dmazzoni): this is temporarily disabled until the color inverting
+ // can be made optional or the need is addressed some other way.
+ // http://crbug.com/112944
+ //g_is_inverted_color_scheme =
+ // SystemParametersInfo(SPI_GETHIGHCONTRAST, 0, &high_contrast, 0) &&
+ // ((high_contrast.dwFlags & HCF_HIGHCONTRASTON) != 0);
g_is_inverted_color_scheme_initialized = true;
#endif
}