Index: chrome/browser/password_manager/password_form_manager.cc |
diff --git a/chrome/browser/password_manager/password_form_manager.cc b/chrome/browser/password_manager/password_form_manager.cc |
index 6aacd0c0861c63ce41e72354c3b0228f3f9779c7..f30304df8f0bb1cbf466eb897c28ccc07bfbdd08 100644 |
--- a/chrome/browser/password_manager/password_form_manager.cc |
+++ b/chrome/browser/password_manager/password_form_manager.cc |
@@ -127,7 +127,7 @@ void PasswordFormManager::PermanentlyBlacklist() { |
if (!best_matches_.empty()) { |
PasswordFormMap::const_iterator iter; |
PasswordStore* password_store = PasswordStoreFactory::GetForProfile( |
- profile_, Profile::EXPLICIT_ACCESS); |
+ profile_, Profile::EXPLICIT_ACCESS).get(); |
if (!password_store) { |
NOTREACHED(); |
return; |
@@ -228,7 +228,7 @@ void PasswordFormManager::FetchMatchingLoginsFromPasswordStore() { |
DCHECK(!pending_login_query_); |
state_ = MATCHING_PHASE; |
PasswordStore* password_store = PasswordStoreFactory::GetForProfile( |
- profile_, Profile::EXPLICIT_ACCESS); |
+ profile_, Profile::EXPLICIT_ACCESS).get(); |
if (!password_store) { |
NOTREACHED(); |
return; |
@@ -383,7 +383,7 @@ void PasswordFormManager::SaveAsNewLogin(bool reset_preferred_login) { |
DCHECK(!profile_->IsOffTheRecord()); |
PasswordStore* password_store = PasswordStoreFactory::GetForProfile( |
- profile_, Profile::IMPLICIT_ACCESS); |
+ profile_, Profile::IMPLICIT_ACCESS).get(); |
if (!password_store) { |
NOTREACHED(); |
return; |
@@ -424,7 +424,7 @@ void PasswordFormManager::UpdateLogin() { |
DCHECK(!profile_->IsOffTheRecord()); |
PasswordStore* password_store = PasswordStoreFactory::GetForProfile( |
- profile_, Profile::IMPLICIT_ACCESS); |
+ profile_, Profile::IMPLICIT_ACCESS).get(); |
if (!password_store) { |
NOTREACHED(); |
return; |