Index: components/autofill/browser/autofill_manager_unittest.cc |
diff --git a/components/autofill/browser/autofill_manager_unittest.cc b/components/autofill/browser/autofill_manager_unittest.cc |
index 93b417a7be631f4424fa84a22baea4a2cf891419..87a6e532092cba825e8bdba355cd9742ff392697 100644 |
--- a/components/autofill/browser/autofill_manager_unittest.cc |
+++ b/components/autofill/browser/autofill_manager_unittest.cc |
@@ -1920,7 +1920,7 @@ TEST_F(AutofillManagerTest, FillAddressForm) { |
// Test that we correctly fill an address form from an auxiliary profile. |
TEST_F(AutofillManagerTest, FillAddressFormFromAuxiliaryProfile) { |
personal_data_.ClearAutofillProfiles(); |
- PrefService* prefs = components::UserPrefs::Get(profile()); |
+ PrefService* prefs = user_prefs::UserPrefs::Get(profile()); |
prefs->SetBoolean(::autofill::prefs::kAutofillAuxiliaryProfilesEnabled, true); |
personal_data_.CreateTestAuxiliaryProfiles(); |
@@ -2813,7 +2813,7 @@ TEST_F(AutofillManagerTest, FormSubmittedWithDefaultValues) { |
// Checks that resetting the auxiliary profile enabled preference does the right |
// thing on all platforms. |
TEST_F(AutofillManagerTest, AuxiliaryProfilesReset) { |
- PrefService* prefs = components::UserPrefs::Get(profile()); |
+ PrefService* prefs = user_prefs::UserPrefs::Get(profile()); |
#if defined(OS_MACOSX) || defined(OS_ANDROID) |
// Auxiliary profiles is implemented on Mac and Android only. |
// OSX: enables Mac Address Book integration. |