| Index: ui/native_theme/native_theme_win.cc
|
| diff --git a/ui/native_theme/native_theme_win.cc b/ui/native_theme/native_theme_win.cc
|
| index e0ff0f10173dbd2d71b72ae954d51e5e8eae3eb9..381d8074552281e98b3ea4668786c0a1ad5e6f99 100644
|
| --- a/ui/native_theme/native_theme_win.cc
|
| +++ b/ui/native_theme/native_theme_win.cc
|
| @@ -28,6 +28,7 @@
|
| #include "ui/gfx/gdi_util.h"
|
| #include "ui/gfx/rect.h"
|
| #include "ui/gfx/rect_conversions.h"
|
| +#include "ui/gfx/sys_color_change_listener.h"
|
| #include "ui/native_theme/common_theme.h"
|
|
|
| // This was removed from Winvers.h but is still used.
|
| @@ -499,6 +500,8 @@ SkColor NativeThemeWin::GetSystemColor(ColorId color_id) const {
|
|
|
| // Dialogs
|
| case kColorId_DialogBackground:
|
| + if (gfx::IsInvertedColorScheme())
|
| + return color_utils::InvertColor(kDialogBackgroundColor);
|
| return kDialogBackgroundColor;
|
|
|
| // FocusableBorder
|
|
|