Chromium Code Reviews| Index: views/controls/button/text_button.cc |
| diff --git a/views/controls/button/text_button.cc b/views/controls/button/text_button.cc |
| index e72deb3b328d881fcfdd6a4b5f44377f3fc95c1a..69c33a755d6e39c0902ad524fdf0823a1504b74e 100644 |
| --- a/views/controls/button/text_button.cc |
| +++ b/views/controls/button/text_button.cc |
| @@ -560,7 +560,7 @@ gfx::Size TextButtonBase::GetMinimumSize() { |
| return max_text_size_; |
| } |
| -void TextButtonBase::SetEnabled(bool enabled) { |
| +void TextButtonBase::OnEnabledChanged(bool enabled) { |
| if (enabled != IsEnabled()) { |
| CustomButton::SetEnabled(enabled); |
|
Ben Goodger (Google)
2011/05/27 16:01:21
Infinite recursion.
tfarina
2011/05/27 16:25:04
Done.
|
| } |