Index: ui/views/view.h |
diff --git a/ui/views/view.h b/ui/views/view.h |
index d6e6ca9f48770df4c934eddeeee87aac9c62ea91..d03a1fc082b67822dc6edb2269e4d4aae37252bf 100644 |
--- a/ui/views/view.h |
+++ b/ui/views/view.h |
@@ -258,7 +258,7 @@ class VIEWS_EXPORT View : public ui::LayerDelegate, |
void SetEnabled(bool enabled); |
// Returns whether the view is enabled. |
- virtual bool IsEnabled() const; |
+ bool enabled() const { return enabled_; } |
// This indicates that the view completely fills its bounds in an opaque |
// color. This doesn't affect compositing but is a hint to the compositor to |