| Index: chrome/browser/ui/webui/options2/autofill_options_handler2.cc
|
| diff --git a/chrome/browser/ui/webui/options2/autofill_options_handler2.cc b/chrome/browser/ui/webui/options2/autofill_options_handler2.cc
|
| index 6c92a0daa1fdd669ac4c8f729547c592c8cc03ca..8d1374e3c16aca5dc1224cb56726bf1710ebd0bb 100644
|
| --- a/chrome/browser/ui/webui/options2/autofill_options_handler2.cc
|
| +++ b/chrome/browser/ui/webui/options2/autofill_options_handler2.cc
|
| @@ -301,14 +301,17 @@ void AutofillOptionsHandler::GetLocalizedValues(
|
| SetCreditCardOverlayStrings(localized_strings);
|
| }
|
|
|
| -void AutofillOptionsHandler::Initialize() {
|
| +void AutofillOptionsHandler::InitializeHandler() {
|
| personal_data_ = PersonalDataManagerFactory::GetForProfile(
|
| Profile::FromWebUI(web_ui()));
|
| // personal_data_ is NULL in guest mode on Chrome OS.
|
| - if (personal_data_) {
|
| + if (personal_data_)
|
| personal_data_->SetObserver(this);
|
| +}
|
| +
|
| +void AutofillOptionsHandler::InitializePage() {
|
| + if (personal_data_)
|
| LoadAutofillData();
|
| - }
|
| }
|
|
|
| void AutofillOptionsHandler::RegisterMessages() {
|
|
|