Fix cros multi-profile sign in visibility bug

Turns out that this cleanup introduced regression
 https://codereview.chromium.org/16105005/

BUG=244224
NOTRY=true

Review URL: https://chromiumcodereview.appspot.com/16114008

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@202961 0039d316-1c4b-4281-b951-d872f2087c98
parent f5b4cf88
......@@ -246,7 +246,8 @@ LoginDisplayHostImpl::LoginDisplayHostImpl(const gfx::Rect& background_bounds)
// When we wait for WebUI to be initialized we wait for one of
// these notifications.
if (waiting_for_user_pods_ && initialize_webui_hidden_) {
if ((waiting_for_user_pods_ || waiting_for_wallpaper_load_)
&& initialize_webui_hidden_) {
registrar_.Add(this, chrome::NOTIFICATION_LOGIN_WEBUI_VISIBLE,
content::NotificationService::AllSources());
registrar_.Add(this, chrome::NOTIFICATION_LOGIN_NETWORK_ERROR_SHOWN,
......
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