Index: chrome/browser/profiles/profile_manager.cc |
diff --git a/chrome/browser/profiles/profile_manager.cc b/chrome/browser/profiles/profile_manager.cc |
index eb7df5240a35986128bb4c2a151a0bb6467d88f4..adff57b742d4526507207a2efc7a359961ac23e2 100644 |
--- a/chrome/browser/profiles/profile_manager.cc |
+++ b/chrome/browser/profiles/profile_manager.cc |
@@ -1154,8 +1154,8 @@ void ProfileManager::FinishDeletingProfile(const base::FilePath& profile_dir) { |
ProfileMetrics::LogProfileDelete(profile_is_signed_in); |
// Some platforms store passwords in keychains. They should be removed. |
scoped_refptr<password_manager::PasswordStore> password_store = |
- PasswordStoreFactory::GetForProfile(profile, Profile::EXPLICIT_ACCESS) |
- .get(); |
+ PasswordStoreFactory::GetForProfile( |
+ profile, ServiceAccessType::EXPLICIT_ACCESS).get(); |
if (password_store.get()) { |
password_store->RemoveLoginsCreatedBetween(base::Time(), |
base::Time::Max()); |