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

Unified Diff: ui/views/controls/table/native_table_win.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/resize_area.cc ('k') | ui/views/controls/table/table_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/controls/table/native_table_win.cc
diff --git a/ui/views/controls/table/native_table_win.cc b/ui/views/controls/table/native_table_win.cc
index 3f06fd0fda1da12e33d690c417ebbb63b9682c01..704ff0c3b2275ad5416a99c6cd1b16af23f272f5 100644
--- a/ui/views/controls/table/native_table_win.cc
+++ b/ui/views/controls/table/native_table_win.cc
@@ -522,7 +522,7 @@ LRESULT NativeTableWin::OnCustomDraw(NMLVCUSTOMDRAW* draw_info) {
native_view(), view_index, LVIS_SELECTED | LVIS_DROPHILITED);
bool drop_highlight = ((selected & LVIS_DROPHILITED) != 0);
int bg_color_index;
- if (!IsEnabled())
+ if (!enabled())
bg_color_index = COLOR_3DFACE;
else if (drop_highlight)
bg_color_index = COLOR_HIGHLIGHT;
« no previous file with comments | « ui/views/controls/resize_area.cc ('k') | ui/views/controls/table/table_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698