Index: chrome/browser/password_manager/password_store_factory.cc |
diff --git a/chrome/browser/password_manager/password_store_factory.cc b/chrome/browser/password_manager/password_store_factory.cc |
index b9fd667d3420d158f03a3f3da72020c2f8c3bbaa..a9c980084a66d8b10a9e6336aee956a126814bd7 100644 |
--- a/chrome/browser/password_manager/password_store_factory.cc |
+++ b/chrome/browser/password_manager/password_store_factory.cc |
@@ -95,7 +95,10 @@ LocalProfileId PasswordStoreFactory::GetLocalProfileId( |
#endif |
scoped_refptr<RefcountedProfileKeyedService> |
-PasswordStoreFactory::BuildServiceInstanceFor(Profile* profile) const { |
+PasswordStoreFactory::BuildServiceInstanceFor( |
+ content::BrowserContext* context) const { |
+ Profile* profile = static_cast<Profile*>(context); |
+ |
scoped_refptr<PasswordStore> ps; |
base::FilePath login_db_file_path = profile->GetPath(); |
login_db_file_path = login_db_file_path.Append(chrome::kLoginDataFileName); |