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

Unified Diff: chrome/browser/ui/cocoa/browser/avatar_button.mm

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/cocoa/browser/avatar_button.mm
diff --git a/chrome/browser/ui/cocoa/browser/avatar_button.mm b/chrome/browser/ui/cocoa/browser/avatar_button.mm
index d052fe36649f777724970a5d8875b928fa60fb00..18c843aa909a6cf0c17828d241f4c0c6c4c1b103 100644
--- a/chrome/browser/ui/cocoa/browser/avatar_button.mm
+++ b/chrome/browser/ui/cocoa/browser/avatar_button.mm
@@ -161,8 +161,8 @@ const CGFloat kMenuYOffsetAdjust = 5.0;
// Updates the avatar information from the profile cache.
- (void)updateAvatar {
- ProfileInfoCache& cache =
- g_browser_process->profile_manager()->GetProfileInfoCache();
+ ProfileInfoInterface& cache =
+ g_browser_process->profile_manager()->GetProfileInfo();
size_t index =
cache.GetIndexOfProfileWithPath(browser_->profile()->GetPath());
if (index != std::string::npos) {

Powered by Google App Engine
This is Rietveld 408576698