| 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 bba7f31480a1d257ea2b3a9f12d734267494a4f4..194cd02ff546173a09564104b8c8490d87c40033 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::ForContext(profile)->SetBoolean(
|
| + PrefServiceBase::FromBrowserContext(profile)->SetBoolean(
|
| prefs::kAutofillAuxiliaryProfilesEnabled, false);
|
| }
|
| }
|
|
|