| Index: chrome/browser/ui/cocoa/autofill/autofill_dialog_cocoa_browsertest.mm
|
| diff --git a/chrome/browser/ui/cocoa/autofill/autofill_dialog_cocoa_browsertest.mm b/chrome/browser/ui/cocoa/autofill/autofill_dialog_cocoa_browsertest.mm
|
| index b0c50c90fa90f96d43c593ea13198622172b9a36..a8f4bcadd30a2e5cb48653d8f570c32135f8016a 100644
|
| --- a/chrome/browser/ui/cocoa/autofill/autofill_dialog_cocoa_browsertest.mm
|
| +++ b/chrome/browser/ui/cocoa/autofill/autofill_dialog_cocoa_browsertest.mm
|
| @@ -72,7 +72,7 @@ class AutofillDialogCocoaBrowserTest : public InProcessBrowserTest {
|
|
|
| virtual void SetUpOnMainThread() OVERRIDE {
|
| // Ensure Mac OS X does not pop up a modal dialog for the Address Book.
|
| - autofill::test::DisableSystemServices(browser()->profile());
|
| + autofill::test::DisableSystemServices(browser()->profile()->GetPrefs());
|
|
|
| // Stick to local autofill mode.
|
| browser()->profile()->GetPrefs()->SetBoolean(
|
|
|