Index: trunk/src/ui/views/controls/button/text_button.cc |
=================================================================== |
--- trunk/src/ui/views/controls/button/text_button.cc (revision 266071) |
+++ trunk/src/ui/views/controls/button/text_button.cc (working copy) |
@@ -207,6 +207,8 @@ |
use_hover_color_from_theme_(true), |
focus_painter_(Painter::CreateDashedFocusPainter()) { |
SetText(text); |
+ // OnNativeThemeChanged sets the color member variables. |
+ TextButtonBase::OnNativeThemeChanged(GetNativeTheme()); |
SetAnimationDuration(kHoverAnimationDurationMs); |
} |