| Index: chrome/browser/ui/webui/options/autofill_options_handler.cc
|
| diff --git a/chrome/browser/ui/webui/options/autofill_options_handler.cc b/chrome/browser/ui/webui/options/autofill_options_handler.cc
|
| index 667a0e243f857432b78e19e612ae1818d53d2b5b..2307af0729f201bcd1648e3b3475208dd7009ccd 100644
|
| --- a/chrome/browser/ui/webui/options/autofill_options_handler.cc
|
| +++ b/chrome/browser/ui/webui/options/autofill_options_handler.cc
|
| @@ -224,7 +224,7 @@ void AutofillOptionsHandler::GetLocalizedValues(
|
| }
|
|
|
| void AutofillOptionsHandler::Initialize() {
|
| - personal_data_ = web_ui_->GetProfile()->GetPersonalDataManager();
|
| + personal_data_ = Profile::FromWebUI(web_ui_)->GetPersonalDataManager();
|
| personal_data_->SetObserver(this);
|
|
|
| LoadAutofillData();
|
|
|