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

Unified Diff: chrome/browser/chromeos/login/take_photo_view.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/login/shutdown_button.cc ('k') | chrome/browser/chromeos/login/username_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/login/take_photo_view.cc
diff --git a/chrome/browser/chromeos/login/take_photo_view.cc b/chrome/browser/chromeos/login/take_photo_view.cc
index db761fef70932059cbb7ac70713bd967c72db731..09c117464b2cc03b33b3d05a533ab0cb69a602e5 100644
--- a/chrome/browser/chromeos/login/take_photo_view.cc
+++ b/chrome/browser/chromeos/login/take_photo_view.cc
@@ -224,7 +224,7 @@ void TakePhotoView::UpdateVideoFrame(const SkBitmap& frame) {
if (!is_capturing_)
return;
- if (!snapshot_button_->IsEnabled()) {
+ if (!snapshot_button_->enabled()) {
user_image_->SetNormalState();
snapshot_button_->SetEnabled(true);
snapshot_button_->RequestFocus();
« no previous file with comments | « chrome/browser/chromeos/login/shutdown_button.cc ('k') | chrome/browser/chromeos/login/username_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698