Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1734)

Unified Diff: chrome/browser/ui/webui/ntp/new_tab_sync_setup_handler.cc

Issue 7648037: [Mac] Flip the flag for multi-profiles to on by default. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Un-needed includes Created 9 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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());
« no previous file with comments | « chrome/browser/ui/views/frame/opaque_browser_frame_view.cc ('k') | chrome/browser/ui/webui/options/manage_profile_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698