| Index: chrome/browser/ui/webui/profile_helper.cc
|
| diff --git a/chrome/browser/ui/webui/profile_helper.cc b/chrome/browser/ui/webui/profile_helper.cc
|
| index d381e2eb47185d2fe31ad3b78578f3125c93b139..528292e1003befe9c3a33fd4af0f3984137d38cc 100644
|
| --- a/chrome/browser/ui/webui/profile_helper.cc
|
| +++ b/chrome/browser/ui/webui/profile_helper.cc
|
| @@ -71,10 +71,13 @@ void DeleteProfileCallback(std::unique_ptr<ScopedKeepAlive> keep_alive,
|
| } // namespace
|
|
|
| void OpenNewWindowForProfile(Profile* profile) {
|
| - if (signin::IsForceSigninEnabled()) {
|
| - ShowUserManager(base::Bind(&ShowSigninDialog, profile->GetPath()));
|
| - } else if (profiles::IsProfileLocked(profile->GetPath())) {
|
| - ShowUserManager(base::Bind(&ShowReauthDialog, GetProfileUserName(profile)));
|
| + if (profiles::IsProfileLocked(profile->GetPath())) {
|
| + if (signin::IsForceSigninEnabled()) {
|
| + ShowUserManager(base::Bind(&ShowSigninDialog, profile->GetPath()));
|
| + } else {
|
| + ShowUserManager(
|
| + base::Bind(&ShowReauthDialog, GetProfileUserName(profile)));
|
| + }
|
| } else {
|
| profiles::FindOrCreateNewWindowForProfile(
|
| profile, chrome::startup::IS_PROCESS_STARTUP,
|
|
|