| Index: chrome/browser/profiles/profile_manager.cc
|
| diff --git a/chrome/browser/profiles/profile_manager.cc b/chrome/browser/profiles/profile_manager.cc
|
| index 4a94d805dff2ad2712a170bdb35351a9d0b39e8e..f1be65da52804d981c62557c6619a6b18b7ded1c 100644
|
| --- a/chrome/browser/profiles/profile_manager.cc
|
| +++ b/chrome/browser/profiles/profile_manager.cc
|
| @@ -653,7 +653,8 @@ void ProfileManager::ScheduleProfileForDeletion(
|
| for (size_t i = 0; i < cache.GetNumberOfProfiles(); ++i) {
|
| base::FilePath cur_path = cache.GetPathOfProfileAtIndex(i);
|
| // Make sure that this profile is not pending deletion.
|
| - if (cur_path != profile_dir && !cache.ProfileIsSupervisedAtIndex(i) &&
|
| + if (cur_path != profile_dir &&
|
| + !cache.ProfileIsLegacySupervisedAtIndex(i) &&
|
| !IsProfileMarkedForDeletion(cur_path)) {
|
| last_non_supervised_profile_path = cur_path;
|
| break;
|
|
|