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 45f9d612cf58b695d7670ad7770e59fc08e6f9ac..d5d738484f079eb39cd418be0a76063784dfb58d 100644 |
--- a/chrome/browser/ui/webui/options/manage_profile_handler.cc |
+++ b/chrome/browser/ui/webui/options/manage_profile_handler.cc |
@@ -76,7 +76,7 @@ void ManageProfileHandler::InitializeDefaultProfileIcons() { |
void ManageProfileHandler::SendProfileNames() { |
ProfileInfoCache& cache = |
- g_browser_process->profile_manager()->GetProfileInfoCache(); |
+ g_browser_process->profile_manager()->GetMutableProfileInfo(); |
DictionaryValue profile_name_dict; |
for (size_t i = 0, e = cache.GetNumberOfProfiles(); i < e; ++i) |
profile_name_dict.SetBoolean(UTF16ToUTF8(cache.GetNameOfProfileAtIndex(i)), |
@@ -94,7 +94,7 @@ void ManageProfileHandler::SetProfileNameAndIcon(const ListValue* args) { |
return; |
ProfileInfoCache& cache = |
- g_browser_process->profile_manager()->GetProfileInfoCache(); |
+ g_browser_process->profile_manager()->GetMutableProfileInfo(); |
size_t profile_index = cache.GetIndexOfProfileWithPath(profile_file_path); |
if (profile_index == std::string::npos) |
return; |