Chromium Code Reviews| 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 ce865996b534254d4ea8f2ba9bf7631511f01b3c..8df9d43fa551ef3b4932c69ededeffcdb2f184c4 100644 |
| --- a/ui/native_theme/native_theme_win.cc |
| +++ b/ui/native_theme/native_theme_win.cc |
| @@ -493,6 +493,9 @@ SkColor NativeThemeWin::GetSystemColor(ColorId color_id) const { |
| // Dialogs |
| case kColorId_DialogBackground: |
| case kColorId_BubbleBackground: |
| + if (ui::MaterialDesignController::IsSecondaryUiMaterial()) { |
| + return GetAuraColor(color_id, this); |
| + } |
|
Evan Stade
2016/08/23 19:31:05
I think you can just break in the md case, and let
Jane
2016/08/23 20:06:05
Done.
|
| return color_utils::IsInvertedColorScheme() ? |
| color_utils::InvertColor(kDialogBackgroundColor) : |
| kDialogBackgroundColor; |