summaryrefslogtreecommitdiffstats
path: root/chrome/test/base/testing_profile.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/test/base/testing_profile.cc')
-rw-r--r--chrome/test/base/testing_profile.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/test/base/testing_profile.cc b/chrome/test/base/testing_profile.cc
index b3ad1cd..466191e 100644
--- a/chrome/test/base/testing_profile.cc
+++ b/chrome/test/base/testing_profile.cc
@@ -288,7 +288,7 @@ void TestingProfile::Init() {
EnsureBrowserContextKeyedServiceFactoriesBuilt();
if (prefs_.get())
- components::UserPrefs::Set(this, prefs_.get());
+ user_prefs::UserPrefs::Set(this, prefs_.get());
else
CreateTestingPrefService();
@@ -559,7 +559,7 @@ void TestingProfile::CreateTestingPrefService() {
DCHECK(!prefs_.get());
testing_prefs_ = new TestingPrefServiceSyncable();
prefs_.reset(testing_prefs_);
- components::UserPrefs::Set(this, prefs_.get());
+ user_prefs::UserPrefs::Set(this, prefs_.get());
chrome::RegisterUserPrefs(testing_prefs_->registry());
}