Commit ce6b0121 authored by alyssad@chromium.org's avatar alyssad@chromium.org

Fix for pyauto AutoFill tests on Leopard.

Review URL: http://codereview.chromium.org/2823046

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52933 0039d316-1c4b-4281-b951-d872f2087c98
parent 900e4962
...@@ -2572,7 +2572,7 @@ void AutomationProvider::FillAutoFillProfile(Browser* browser, ...@@ -2572,7 +2572,7 @@ void AutomationProvider::FillAutoFillProfile(Browser* browser,
TabContents* tab_contents = browser->GetTabContentsAt(tab_index); TabContents* tab_contents = browser->GetTabContentsAt(tab_index);
if (tab_contents) { if (tab_contents) {
PersonalDataManager* pdm = tab_contents->profile()->GetOriginalProfile() PersonalDataManager* pdm = tab_contents->profile()
->GetPersonalDataManager(); ->GetPersonalDataManager();
if (pdm) { if (pdm) {
pdm->OnAutoFillDialogApply(profiles? &autofill_profiles : NULL, pdm->OnAutoFillDialogApply(profiles? &autofill_profiles : NULL,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment