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

Unified Diff: chrome/browser/ui/views/frame/browser_view.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/views/frame/browser_view.cc
diff --git a/chrome/browser/ui/views/frame/browser_view.cc b/chrome/browser/ui/views/frame/browser_view.cc
index e92aa5d88cee44636558fc8ef4e1bb0a945a0971..78874b31c81f86b5b0d3c3dd46dbaf2f06048f5b 100644
--- a/chrome/browser/ui/views/frame/browser_view.cc
+++ b/chrome/browser/ui/views/frame/browser_view.cc
@@ -479,8 +479,8 @@ bool BrowserView::ShouldShowAvatar() const {
if (ProfileManager::IsMultipleProfilesEnabled()) {
// Show the profile avatar after the user has created more than one profile.
- ProfileInfoCache& cache =
- g_browser_process->profile_manager()->GetProfileInfoCache();
+ ProfileInfoInterface& cache =
+ g_browser_process->profile_manager()->GetProfileInfo();
return cache.GetNumberOfProfiles() > 1;
}

Powered by Google App Engine
This is Rietveld 408576698