| Index: chrome/browser/ui/webui/options2/password_manager_handler2.cc
|
| diff --git a/chrome/browser/ui/webui/options2/password_manager_handler2.cc b/chrome/browser/ui/webui/options2/password_manager_handler2.cc
|
| index bf5ccd5292a864c50805322bb6f1350d29a82ad5..fd3fc4b846fe0fc80f9390d553c72f5ceda16c3c 100644
|
| --- a/chrome/browser/ui/webui/options2/password_manager_handler2.cc
|
| +++ b/chrome/browser/ui/webui/options2/password_manager_handler2.cc
|
| @@ -76,7 +76,7 @@ void PasswordManagerHandler::GetLocalizedValues(
|
| chrome::kPasswordManagerLearnMoreURL);
|
| }
|
|
|
| -void PasswordManagerHandler::Initialize() {
|
| +void PasswordManagerHandler::InitializeHandler() {
|
| // Due to the way that handlers are (re)initialized under certain types of
|
| // navigation, we may already be initialized. (See bugs 88986 and 86448.)
|
| // If this is the case, return immediately. This is a hack.
|
| @@ -193,7 +193,7 @@ void PasswordManagerHandler::SetPasswordList() {
|
| // If this is the case, initialize on demand. This is a hack.
|
| // TODO(mdm): remove this hack once it is no longer necessary.
|
| if (show_passwords_.GetPrefName().empty())
|
| - Initialize();
|
| + InitializeHandler();
|
|
|
| ListValue entries;
|
| bool show_passwords = *show_passwords_;
|
|
|