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

Unified Diff: chrome/browser/chromeos/drop_shadow_label.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 | « no previous file | chrome/browser/chromeos/login/shutdown_button.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/drop_shadow_label.cc
diff --git a/chrome/browser/chromeos/drop_shadow_label.cc b/chrome/browser/chromeos/drop_shadow_label.cc
index 8ea602c6de9e9082b88a59540519cb9aefca26cc..54243ec0206d8d2bab9e9934612db920905f9ebc 100644
--- a/chrome/browser/chromeos/drop_shadow_label.cc
+++ b/chrome/browser/chromeos/drop_shadow_label.cc
@@ -29,7 +29,7 @@ void DropShadowLabel::PaintText(gfx::Canvas* canvas,
const string16& text,
const gfx::Rect& text_bounds,
int flags) {
- SkColor text_color = IsEnabled() ? enabled_color() : disabled_color();
+ SkColor text_color = enabled() ? enabled_color() : disabled_color();
if (drop_shadow_size_ > 0) {
const float kShadowOpacity = 0.2;
const SkColor shadow_color =
« no previous file with comments | « no previous file | chrome/browser/chromeos/login/shutdown_button.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698