Index: chrome/browser/profiles/profile_info_cache.cc |
diff --git a/chrome/browser/profiles/profile_info_cache.cc b/chrome/browser/profiles/profile_info_cache.cc |
index 347254da18483498814d158324c918e98627485c..5ea0459421a6f6feb4a01ff9b905996f002d8925 100644 |
--- a/chrome/browser/profiles/profile_info_cache.cc |
+++ b/chrome/browser/profiles/profile_info_cache.cc |
@@ -175,7 +175,7 @@ ProfileInfoCache::ProfileInfoCache(PrefService* prefs, |
for (DictionaryValue::key_iterator it = cache->begin_keys(); |
it != cache->end_keys(); ++it) { |
std::string key = *it; |
- DictionaryValue* info = NULL; |
+ const DictionaryValue* info = NULL; |
cache->GetDictionary(key, &info); |
string16 name; |
info->GetString(kNameKey, &name); |
@@ -713,7 +713,7 @@ const DictionaryValue* ProfileInfoCache::GetInfoForProfileAtIndex( |
DCHECK_LT(index, GetNumberOfProfiles()); |
const DictionaryValue* cache = |
prefs_->GetDictionary(prefs::kProfileInfoCache); |
- DictionaryValue* info = NULL; |
+ const DictionaryValue* info = NULL; |
cache->GetDictionary(sorted_keys_[index], &info); |
return info; |
} |
@@ -782,7 +782,7 @@ std::vector<string16> ProfileInfoCache::GetProfileNames() { |
for (base::DictionaryValue::key_iterator it = cache->begin_keys(); |
it != cache->end_keys(); |
++it) { |
- base::DictionaryValue* info = NULL; |
+ const base::DictionaryValue* info = NULL; |
cache->GetDictionary(*it, &info); |
info->GetString(kNameKey, &name); |
names.push_back(name); |