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

Unified Diff: chrome/browser/chromeos/login/wizard_controller.cc

Issue 6355007: Remove error bubble on typing new password (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Ignore password clearing Created 9 years, 11 months 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/new_user_view.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/login/wizard_controller.cc
diff --git a/chrome/browser/chromeos/login/wizard_controller.cc b/chrome/browser/chromeos/login/wizard_controller.cc
index d1c2702ae6d01b184fc9c666900a5cba069ab901..853b311819a11f4e7e398b49c8b5446287eb0517 100644
--- a/chrome/browser/chromeos/login/wizard_controller.cc
+++ b/chrome/browser/chromeos/login/wizard_controller.cc
@@ -305,10 +305,12 @@ void WizardController::Init(const std::string& first_screen_name,
}
void WizardController::Show() {
- // In tests we might startup without initial screen
- // so widget_ hasn't been created yet.
- if (first_screen_name_ != kTestNoScreenName)
+ // In tests and in case of --login-screen=login there is no screen to show.
+ if (first_screen_name_ != kTestNoScreenName &&
+ first_screen_name_ != kLoginScreenName) {
DCHECK(widget_);
+ }
+
if (widget_)
widget_->Show();
}
« no previous file with comments | « chrome/browser/chromeos/login/new_user_view.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698