Chromium Code Reviews| Index: views/controls/native_control_gtk.cc |
| diff --git a/views/controls/native_control_gtk.cc b/views/controls/native_control_gtk.cc |
| index 5a2bed16f014dd5f9d86c102b98aa98551672853..49c6041a9fef9e4404cc7bc56fd5b649327e1fa6 100644 |
| --- a/views/controls/native_control_gtk.cc |
| +++ b/views/controls/native_control_gtk.cc |
| @@ -151,7 +151,7 @@ NativeControlGtk::~NativeControlGtk() { |
| //////////////////////////////////////////////////////////////////////////////// |
| // NativeControlGtk, View overrides: |
| -void NativeControlGtk::SetEnabled(bool enabled) { |
| +void NativeControlGtk::OnEnabledChanged(bool enabled) { |
| if (IsEnabled() != enabled) { |
| View::SetEnabled(enabled); |
|
Ben Goodger (Google)
2011/05/27 16:01:21
Infinite recursion.
tfarina
2011/05/27 16:25:04
Done.
|
| if (native_view()) |