Chromium Code Reviews| Index: chrome/browser/ui/webui/ntp/new_tab_sync_setup_handler.cc |
| diff --git a/chrome/browser/ui/webui/ntp/new_tab_sync_setup_handler.cc b/chrome/browser/ui/webui/ntp/new_tab_sync_setup_handler.cc |
| index 90f985d4341314b2b4c6a23a0b4d8942f30fc85f..dcc1d61121dfff547b9ff461efab7972fad8e0ad 100644 |
| --- a/chrome/browser/ui/webui/ntp/new_tab_sync_setup_handler.cc |
| +++ b/chrome/browser/ui/webui/ntp/new_tab_sync_setup_handler.cc |
| @@ -142,7 +142,7 @@ void NewTabSyncSetupHandler::UpdateLogin() { |
| std::string icon_url; |
| ProfileInfoCache& cache = |
| - g_browser_process->profile_manager()->GetProfileInfoCache(); |
| + g_browser_process->profile_manager()->GetMutableProfileInfo(); |
|
sail
2011/08/16 20:17:33
This doesn't have to be mutable if we move more of
|
| if (cache.GetNumberOfProfiles() > 1) { |
| size_t index = cache.GetIndexOfProfileWithPath( |
| Profile::FromWebUI(web_ui_)->GetPath()); |