Index: views/controls/button/custom_button.cc |
diff --git a/views/controls/button/custom_button.cc b/views/controls/button/custom_button.cc |
index 95ecb988c478c34c3b293bdea1bc9afe1e1c8462..7aa74f9079704ab751bf3856839150137f9f877b 100644 |
--- a/views/controls/button/custom_button.cc |
+++ b/views/controls/button/custom_button.cc |
@@ -91,7 +91,7 @@ bool CustomButton::IsHotTracked() const { |
return state_ == BS_HOT; |
} |
-void CustomButton::SetEnabled(bool enabled) { |
+void CustomButton::OnEnabledChanged(bool enabled) { |
if (enabled ? (state_ != BS_DISABLED) : (state_ == BS_DISABLED)) |
return; |