Index: views/controls/button/native_button.cc |
diff --git a/views/controls/button/native_button.cc b/views/controls/button/native_button.cc |
index 0e2c1f5a584e8f581f1370b561dab8651413faeb..2bc9f6e5a8975b46a9b97a172d1ff764742a8bc0 100644 |
--- a/views/controls/button/native_button.cc |
+++ b/views/controls/button/native_button.cc |
@@ -164,8 +164,8 @@ void NativeButtonBase::Layout() { |
} |
} |
-void NativeButtonBase::SetEnabled(bool flag) { |
- Button::SetEnabled(flag); |
+void NativeButtonBase::OnEnabledChanged(bool enabled) { |
+ Button::SetEnabled(enabled); |
Ben Goodger (Google)
2011/05/27 16:01:21
This is also going to recurse infinitely.
tfarina
2011/05/27 16:25:04
Done.
|
if (native_wrapper_) |
native_wrapper_->UpdateEnabled(); |
} |