| Index: chrome/browser/automation/automation_provider.cc
|
| diff --git a/chrome/browser/automation/automation_provider.cc b/chrome/browser/automation/automation_provider.cc
|
| index 0597f694a06911e325a20e809005ee585a439aa6..d767937c14f569705f86cf7b68b3fdb96b6ffe83 100644
|
| --- a/chrome/browser/automation/automation_provider.cc
|
| +++ b/chrome/browser/automation/automation_provider.cc
|
| @@ -2572,7 +2572,7 @@ void AutomationProvider::FillAutoFillProfile(Browser* browser,
|
| TabContents* tab_contents = browser->GetTabContentsAt(tab_index);
|
|
|
| if (tab_contents) {
|
| - PersonalDataManager* pdm = tab_contents->profile()->GetOriginalProfile()
|
| + PersonalDataManager* pdm = tab_contents->profile()
|
| ->GetPersonalDataManager();
|
| if (pdm) {
|
| pdm->OnAutoFillDialogApply(profiles? &autofill_profiles : NULL,
|
|
|