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..679841ac84f35d44fbde2825a0213b50df0c8089 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() { |
+ Button::OnEnabledChanged(); |
if (native_wrapper_) |
native_wrapper_->UpdateEnabled(); |
} |