Index: views/controls/button/custom_button.h |
diff --git a/views/controls/button/custom_button.h b/views/controls/button/custom_button.h |
index b8984838e388945249310f3ed41f827f2da7aa61..67c6ff554911220631ca5bec4b4ac8b821da3a58 100644 |
--- a/views/controls/button/custom_button.h |
+++ b/views/controls/button/custom_button.h |
@@ -75,7 +75,7 @@ class CustomButton : public Button, |
// Overridden from View: |
virtual void SetHotTracked(bool flag) OVERRIDE; |
virtual bool IsHotTracked() const OVERRIDE; |
- virtual void SetEnabled(bool enabled) OVERRIDE; |
+ virtual void OnEnabledChanged(bool enabled) OVERRIDE; |
virtual bool IsEnabled() const OVERRIDE; |
virtual std::string GetClassName() const OVERRIDE; |
virtual bool OnMousePressed(const MouseEvent& event) OVERRIDE; |