Index: ui/views/controls/button/blue_button.cc |
diff --git a/ui/views/controls/button/blue_button.cc b/ui/views/controls/button/blue_button.cc |
index 516363018f48b96862452477353a06f911711899..3e52afd896e2f2e7d736240b32fc4ff80797fe9d 100644 |
--- a/ui/views/controls/button/blue_button.cc |
+++ b/ui/views/controls/button/blue_button.cc |
@@ -63,7 +63,12 @@ BlueButton::BlueButton(ButtonListener* listener, const string16& text) |
button_border->SetPainter(true, STATE_DISABLED, |
Painter::CreateImagePainter( |
*rb.GetImageSkiaNamed(IDR_BLUE_BUTTON_DISABLED), insets)); |
+} |
+ |
+BlueButton::~BlueButton() {} |
+void BlueButton::ResetColorsFromNativeTheme() { |
+ LabelButton::ResetColorsFromNativeTheme(); |
if (!gfx::IsInvertedColorScheme()) { |
for (size_t state = STATE_NORMAL; state < STATE_COUNT; ++state) |
SetTextColor(static_cast<ButtonState>(state), kBlueButtonTextColor); |
@@ -72,8 +77,6 @@ BlueButton::BlueButton(ButtonListener* listener, const string16& text) |
} |
} |
-BlueButton::~BlueButton() {} |
- |
const char* BlueButton::GetClassName() const { |
return BlueButton::kViewClassName; |
} |