| Index: chrome/browser/importer/profile_writer.cc
|
| diff --git a/chrome/browser/importer/profile_writer.cc b/chrome/browser/importer/profile_writer.cc
|
| index f93a32d23b9ac468ade520f96e4625d05af7c095..3be6d7b823d2a3aa315b580c7cb2f2b35df19024 100644
|
| --- a/chrome/browser/importer/profile_writer.cc
|
| +++ b/chrome/browser/importer/profile_writer.cc
|
| @@ -14,6 +14,7 @@
|
| #include "base/utf_string_conversions.h"
|
| #include "chrome/browser/bookmarks/bookmark_model.h"
|
| #include "chrome/browser/password_manager/password_store.h"
|
| +#include "chrome/browser/password_manager/password_store_factory.h"
|
| #include "chrome/browser/prefs/pref_service.h"
|
| #include "chrome/browser/profiles/profile.h"
|
| #include "chrome/browser/search_engines/template_url.h"
|
| @@ -87,7 +88,8 @@ bool ProfileWriter::TemplateURLServiceIsLoaded() const {
|
| }
|
|
|
| void ProfileWriter::AddPasswordForm(const webkit::forms::PasswordForm& form) {
|
| - profile_->GetPasswordStore(Profile::EXPLICIT_ACCESS)->AddLogin(form);
|
| + PasswordStoreFactory::GetForProfile(
|
| + profile_, Profile::EXPLICIT_ACCESS)->AddLogin(form);
|
| }
|
|
|
| #if defined(OS_WIN)
|
|
|