Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(767)

Unified Diff: ui/views/controls/resize_area.cc

Issue 8909002: views: Convert IsEnabled() to just enabled() since it's just a simple accessor. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/views/controls/progress_bar.cc ('k') | ui/views/controls/table/native_table_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/controls/resize_area.cc
diff --git a/ui/views/controls/resize_area.cc b/ui/views/controls/resize_area.cc
index 832ebecb2ce5f9e0508b2857dcdaf4760c81ad34..207d3b4cc032ce2f254d7557d93222ef155d5873 100644
--- a/ui/views/controls/resize_area.cc
+++ b/ui/views/controls/resize_area.cc
@@ -37,7 +37,7 @@ std::string ResizeArea::GetClassName() const {
}
gfx::NativeCursor ResizeArea::GetCursor(const MouseEvent& event) {
- if (!IsEnabled())
+ if (!enabled())
return gfx::kNullCursor;
#if defined(USE_AURA)
return aura::kCursorEastWestResize;
« no previous file with comments | « ui/views/controls/progress_bar.cc ('k') | ui/views/controls/table/native_table_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698