| Index: chrome/browser/autofill/autofill_common_test.cc
|
| diff --git a/chrome/browser/autofill/autofill_common_test.cc b/chrome/browser/autofill/autofill_common_test.cc
|
| index 26e93447c30bdc591c455a8dc7cb3114626e054b..bba7f31480a1d257ea2b3a9f12d734267494a4f4 100644
|
| --- a/chrome/browser/autofill/autofill_common_test.cc
|
| +++ b/chrome/browser/autofill/autofill_common_test.cc
|
| @@ -83,7 +83,7 @@ void DisableSystemServices(Profile* profile) {
|
| // Disable auxiliary profiles for unit testing. These reach out to system
|
| // services on the Mac.
|
| if (profile) {
|
| - PrefServiceBase::ForProfile(profile)->SetBoolean(
|
| + PrefServiceBase::ForContext(profile)->SetBoolean(
|
| prefs::kAutofillAuxiliaryProfilesEnabled, false);
|
| }
|
| }
|
|
|