diff options
Diffstat (limited to 'views/controls')
-rw-r--r-- | views/controls/button/text_button.cc | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/views/controls/button/text_button.cc b/views/controls/button/text_button.cc index e232763..2b24d9e 100644 --- a/views/controls/button/text_button.cc +++ b/views/controls/button/text_button.cc @@ -383,7 +383,7 @@ const ui::Animation* TextButtonBase::GetAnimation() const { } void TextButtonBase::UpdateColor() { - color_ = IsEnabled() ? color_enabled_ : color_disabled_; + color_ = View::IsEnabled() ? color_enabled_ : color_disabled_; } void TextButtonBase::UpdateTextSize() { @@ -738,5 +738,3 @@ gfx::Rect TextButton::GetTextBounds() const { } } // namespace views - - |