| Index: chrome/browser/autofill/autofill_manager_unittest.cc
|
| diff --git a/chrome/browser/autofill/autofill_manager_unittest.cc b/chrome/browser/autofill/autofill_manager_unittest.cc
|
| index 8aea816fddd32377142270e3f67de290ed947398..1f1347f80531502d678664069da0bbd03a143163 100644
|
| --- a/chrome/browser/autofill/autofill_manager_unittest.cc
|
| +++ b/chrome/browser/autofill/autofill_manager_unittest.cc
|
| @@ -2622,7 +2622,7 @@ TEST_F(AutofillManagerTest, FormSubmittedWithDefaultValues) {
|
| // Checks that resetting the auxiliary profile enabled preference does the right
|
| // thing on all platforms.
|
| TEST_F(AutofillManagerTest, AuxiliaryProfilesReset) {
|
| - PrefServiceBase* prefs = PrefServiceBase::ForProfile(profile());
|
| + PrefServiceBase* prefs = PrefServiceBase::ForContext(profile());
|
| #if defined(OS_MACOSX)
|
| // Auxiliary profiles is implemented on Mac only. It enables Mac Address
|
| // Book integration.
|
| @@ -2918,7 +2918,7 @@ TEST_F(AutofillManagerTest, DeterminePossibleFieldTypesForUpload) {
|
| }
|
|
|
| TEST_F(AutofillManagerTest, UpdatePasswordSyncState) {
|
| - PrefServiceBase* prefs = PrefServiceBase::ForProfile(profile());
|
| + PrefServiceBase* prefs = PrefServiceBase::ForContext(profile());
|
|
|
| // Allow this test to control what should get synced.
|
| prefs->SetBoolean(prefs::kSyncKeepEverythingSynced, false);
|
| @@ -2976,7 +2976,7 @@ TEST_F(AutofillManagerTest, UpdatePasswordSyncState) {
|
| }
|
|
|
| TEST_F(AutofillManagerTest, UpdatePasswordGenerationState) {
|
| - PrefServiceBase* prefs = PrefServiceBase::ForProfile(profile());
|
| + PrefServiceBase* prefs = PrefServiceBase::ForContext(profile());
|
|
|
| // Always set password sync enabled so we can test the behavior of password
|
| // generation.
|
|
|