Index: chrome/browser/ui/webui/ntp/new_tab_sync_setup_handler.cc |
=================================================================== |
--- chrome/browser/ui/webui/ntp/new_tab_sync_setup_handler.cc (revision 97074) |
+++ chrome/browser/ui/webui/ntp/new_tab_sync_setup_handler.cc (working copy) |
@@ -142,7 +142,7 @@ |
std::string icon_url; |
ProfileInfoCache& cache = |
- g_browser_process->profile_manager()->GetMutableProfileInfo(); |
+ g_browser_process->profile_manager()->GetProfileInfoCache(); |
if (cache.GetNumberOfProfiles() > 1) { |
size_t index = cache.GetIndexOfProfileWithPath( |
Profile::FromWebUI(web_ui_)->GetPath()); |