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

Unified Diff: chrome/browser/chromeos/login/session/user_session_manager.cc

Issue 743113002: CHECK for LoginDisplayHost instance in ActivateWizard (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 1 month 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/login/session/user_session_manager.cc
diff --git a/chrome/browser/chromeos/login/session/user_session_manager.cc b/chrome/browser/chromeos/login/session/user_session_manager.cc
index 9544cc8ed3610e423130c77b15644b1971b6aa2c..dcb0fb126fdd4d2da0d90e73207c44663e64e9e5 100644
--- a/chrome/browser/chromeos/login/session/user_session_manager.cc
+++ b/chrome/browser/chromeos/login/session/user_session_manager.cc
@@ -980,11 +980,9 @@ void UserSessionManager::FinalizePrepareProfile(Profile* profile) {
void UserSessionManager::ActivateWizard(const std::string& screen_name) {
LoginDisplayHost* host = LoginDisplayHostImpl::default_host();
- DCHECK(host);
- if (host) {
- scoped_ptr<base::DictionaryValue> params;
- host->StartWizard(screen_name, params.Pass());
- }
+ CHECK(host);
+ scoped_ptr<base::DictionaryValue> params;
+ host->StartWizard(screen_name, params.Pass());
}
void UserSessionManager::InitializeStartUrls() const {
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698