Index: chrome/browser/profiles/profile_manager.cc |
diff --git a/chrome/browser/profiles/profile_manager.cc b/chrome/browser/profiles/profile_manager.cc |
index d0b3930aabaf4656d865045eb7e1c4c1248d2cb6..2d7a5b78072872970f875a058015902405e1ef04 100644 |
--- a/chrome/browser/profiles/profile_manager.cc |
+++ b/chrome/browser/profiles/profile_manager.cc |
@@ -1111,7 +1111,7 @@ void ProfileManager::FinishDeletingProfile(const base::FilePath& profile_dir) { |
scoped_refptr<password_manager::PasswordStore> password_store = |
PasswordStoreFactory::GetForProfile(profile, Profile::EXPLICIT_ACCESS) |
.get(); |
- if (password_store) { |
+ if (password_store.get()) { |
password_store->RemoveLoginsCreatedBetween(base::Time(), |
base::Time::Max()); |
} |