| Index: ui/views/controls/button/label_button.cc
|
| diff --git a/ui/views/controls/button/label_button.cc b/ui/views/controls/button/label_button.cc
|
| index 2c49f26d87ff1443c964f58135f28a8e51b4d6bb..e8148ebedadfe4381cdf1e8ddfe9e39ac8e048d4 100644
|
| --- a/ui/views/controls/button/label_button.cc
|
| +++ b/ui/views/controls/button/label_button.cc
|
| @@ -422,18 +422,18 @@ void LabelButton::ResetColorsFromNativeTheme() {
|
| // pre-MD, although in the MD world labels and buttons get different colors.
|
| // TODO(estade): simplify this by removing STYLE_BUTTON.
|
| SkColor colors[STATE_COUNT] = {
|
| - theme->GetSystemColor(button_style
|
| - ? ui::NativeTheme::kColorId_ButtonEnabledColor
|
| - : ui::NativeTheme::kColorId_LabelEnabledColor),
|
| + theme->GetSystemColor(
|
| + button_style ? ui::NativeTheme::kColorId_TextOnEnabledDialogButton
|
| + : ui::NativeTheme::kColorId_LabelEnabledColor),
|
| theme->GetSystemColor(button_style
|
| ? ui::NativeTheme::kColorId_ButtonHoverColor
|
| : ui::NativeTheme::kColorId_LabelEnabledColor),
|
| theme->GetSystemColor(button_style
|
| ? ui::NativeTheme::kColorId_ButtonHoverColor
|
| : ui::NativeTheme::kColorId_LabelEnabledColor),
|
| - theme->GetSystemColor(button_style
|
| - ? ui::NativeTheme::kColorId_ButtonDisabledColor
|
| - : ui::NativeTheme::kColorId_LabelDisabledColor),
|
| + theme->GetSystemColor(
|
| + button_style ? ui::NativeTheme::kColorId_TextOnDisabledDialogButton
|
| + : ui::NativeTheme::kColorId_LabelDisabledColor),
|
| };
|
|
|
| // Use hardcoded colors for inverted color scheme support and STYLE_BUTTON.
|
|
|