| 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 0979be6bfc5193bfacf3686a5ed71c9ce4bef2c2..0618cca6cfe71a213a9cb613132866d85843f938 100644
|
| --- a/ui/views/controls/button/label_button.cc
|
| +++ b/ui/views/controls/button/label_button.cc
|
| @@ -496,11 +496,11 @@ void LabelButton::ResetColorsFromNativeTheme() {
|
| label_->set_background(Background::CreateSolidBackground(SK_ColorBLACK));
|
| label_->SetAutoColorReadabilityEnabled(true);
|
| label_->SetShadows(gfx::ShadowValues());
|
| - } else if (style() == STYLE_BUTTON) {
|
| - PlatformStyle::ApplyLabelButtonTextStyle(label_, &colors);
|
| - label_->set_background(nullptr);
|
| } else {
|
| + if (style() == STYLE_BUTTON)
|
| + PlatformStyle::ApplyLabelButtonTextStyle(label_, &colors);
|
| label_->set_background(nullptr);
|
| + label_->SetAutoColorReadabilityEnabled(false);
|
| }
|
|
|
| for (size_t state = STATE_NORMAL; state < STATE_COUNT; ++state) {
|
|
|