| Index: chrome/browser/ui/webui/options/password_manager_handler.cc
|
| diff --git a/chrome/browser/ui/webui/options/password_manager_handler.cc b/chrome/browser/ui/webui/options/password_manager_handler.cc
|
| index f1bbc90e27076c5a3b32fe86b790f2eb01296988..4e2ce713c076b2bd3017570eaeccaa2d2e55547c 100644
|
| --- a/chrome/browser/ui/webui/options/password_manager_handler.cc
|
| +++ b/chrome/browser/ui/webui/options/password_manager_handler.cc
|
| @@ -8,6 +8,7 @@
|
| #include "base/string_number_conversions.h"
|
| #include "base/utf_string_conversions.h"
|
| #include "base/values.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/common/chrome_notification_types.h"
|
| @@ -113,8 +114,9 @@ void PasswordManagerHandler::OnLoginsChanged() {
|
| }
|
|
|
| PasswordStore* PasswordManagerHandler::GetPasswordStore() {
|
| - return Profile::FromWebUI(web_ui())->
|
| - GetPasswordStore(Profile::EXPLICIT_ACCESS);
|
| + return PasswordStoreFactory::GetForProfile(
|
| + Profile::FromWebUI(web_ui()),
|
| + Profile::EXPLICIT_ACCESS);
|
| }
|
|
|
| void PasswordManagerHandler::Observe(
|
|
|