Index: chrome/browser/ui/webui/options/manage_profile_handler.cc |
diff --git a/chrome/browser/ui/webui/options/manage_profile_handler.cc b/chrome/browser/ui/webui/options/manage_profile_handler.cc |
index 69170be6c2f2dc7a8669ce2dda86d4c2788c8db2..4c78ff3c035fe0b6fdfb4843dc21b753fc4e69d2 100644 |
--- a/chrome/browser/ui/webui/options/manage_profile_handler.cc |
+++ b/chrome/browser/ui/webui/options/manage_profile_handler.cc |
@@ -231,8 +231,8 @@ void ManageProfileHandler::RequestExistingManagedUsers(const ListValue* args) { |
for (size_t i = 0; i < cache.GetNumberOfProfiles(); ++i) |
managed_user_ids.insert(cache.GetManagedUserIdOfProfileAtIndex(i)); |
- DictionaryValue* dict = |
- DictionaryPrefUpdate(profile->GetPrefs(), prefs::kManagedUsers).Get(); |
+ const DictionaryValue* dict = |
+ profile->GetPrefs()->GetDictionary(prefs::kManagedUsers); |
DictionaryValue id_names_dict; |
for (DictionaryValue::Iterator it(*dict); !it.IsAtEnd(); it.Advance()) { |
if (managed_user_ids.find(it.key()) != managed_user_ids.end()) |