Index: chrome/browser/profiles/profile_keyed_base_factory.cc |
diff --git a/chrome/browser/profiles/profile_keyed_base_factory.cc b/chrome/browser/profiles/profile_keyed_base_factory.cc |
index 0d57bf6b4de20b0f2611a2a41b24a503e926aaaf..5343e167852777981bb814c07988544b1308f25b 100644 |
--- a/chrome/browser/profiles/profile_keyed_base_factory.cc |
+++ b/chrome/browser/profiles/profile_keyed_base_factory.cc |
@@ -74,8 +74,9 @@ void ProfileKeyedBaseFactory::RegisterUserPrefsOnProfile( |
registered_preferences_.find(profile); |
if (it == registered_preferences_.end()) { |
PrefService* prefs = components::UserPrefs::Get(profile); |
- PrefRegistrySyncable* registry = static_cast<PrefRegistrySyncable*>( |
- prefs->DeprecatedGetPrefRegistry()); |
+ user_prefs::PrefRegistrySyncable* registry = |
+ static_cast<user_prefs::PrefRegistrySyncable*>( |
+ prefs->DeprecatedGetPrefRegistry()); |
RegisterUserPrefs(registry); |
registered_preferences_.insert(profile); |
} |