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

Unified Diff: chrome/browser/chromeos/login/shutdown_button.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 | « chrome/browser/chromeos/drop_shadow_label.cc ('k') | chrome/browser/chromeos/login/take_photo_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/login/shutdown_button.cc
diff --git a/chrome/browser/chromeos/login/shutdown_button.cc b/chrome/browser/chromeos/login/shutdown_button.cc
index 20dc1b23f3b5b0e5493138ec7b35f9f8b7f8a748..16a76fb678e01cada0dc3ccea6c19e617fa34401 100644
--- a/chrome/browser/chromeos/login/shutdown_button.cc
+++ b/chrome/browser/chromeos/login/shutdown_button.cc
@@ -102,7 +102,7 @@ void ShutdownButton::LayoutIn(views::View* parent) {
}
gfx::NativeCursor ShutdownButton::GetCursor(const views::MouseEvent& event) {
- return IsEnabled() ? gfx::GetCursor(GDK_HAND2) : NULL;
+ return enabled() ? gfx::GetCursor(GDK_HAND2) : NULL;
}
void ShutdownButton::OnLocaleChanged() {
« no previous file with comments | « chrome/browser/chromeos/drop_shadow_label.cc ('k') | chrome/browser/chromeos/login/take_photo_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698