| Index: chrome/browser/profiles/profile_manager.cc
|
| diff --git a/chrome/browser/profiles/profile_manager.cc b/chrome/browser/profiles/profile_manager.cc
|
| index 42e766281224d301079dd4a37536521fec7f63d0..21d758c4c3b7bfce9701b9f66055c98e40709ea2 100644
|
| --- a/chrome/browser/profiles/profile_manager.cc
|
| +++ b/chrome/browser/profiles/profile_manager.cc
|
| @@ -797,6 +797,12 @@ void ProfileManager::InitProfileUserPrefs(Profile* profile) {
|
| profile->GetPrefs()->SetString(prefs::kSupervisedUserId,
|
| supervised_user_id);
|
| }
|
| +
|
| +#if !defined(OS_ANDROID) && !defined(OS_IOS) && !defined(OS_CHROMEOS)
|
| + // If the lock enabled algorithm changed, update this profile's lock status.
|
| + if (switches::IsNewProfileManagement())
|
| + profiles::UpdateIsProfileLockEnabledIfNeeded(profile);
|
| +#endif
|
| }
|
|
|
| void ProfileManager::RegisterTestingProfile(Profile* profile,
|
|
|