Commit 85c9c906 authored by nkostylev's avatar nkostylev Committed by Commit bot

CHECK for LoginDisplayHost instance in ActivateWizard

BUG=434799

Review URL: https://codereview.chromium.org/743113002

Cr-Commit-Position: refs/heads/master@{#305014}
parent d5e789ea
...@@ -988,11 +988,9 @@ void UserSessionManager::FinalizePrepareProfile(Profile* profile) { ...@@ -988,11 +988,9 @@ void UserSessionManager::FinalizePrepareProfile(Profile* profile) {
void UserSessionManager::ActivateWizard(const std::string& screen_name) { void UserSessionManager::ActivateWizard(const std::string& screen_name) {
LoginDisplayHost* host = LoginDisplayHostImpl::default_host(); LoginDisplayHost* host = LoginDisplayHostImpl::default_host();
DCHECK(host); CHECK(host);
if (host) {
scoped_ptr<base::DictionaryValue> params; scoped_ptr<base::DictionaryValue> params;
host->StartWizard(screen_name, params.Pass()); host->StartWizard(screen_name, params.Pass());
}
} }
void UserSessionManager::InitializeStartUrls() const { void UserSessionManager::InitializeStartUrls() const {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment