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

Unified Diff: chrome/browser/ui/gtk/browser_titlebar.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/gtk/browser_titlebar.cc
diff --git a/chrome/browser/ui/gtk/browser_titlebar.cc b/chrome/browser/ui/gtk/browser_titlebar.cc
index 051c68e7614f009c9545d1d528e78ccf01942158..0af428c4457e3c2991444553005c7809917a1827 100644
--- a/chrome/browser/ui/gtk/browser_titlebar.cc
+++ b/chrome/browser/ui/gtk/browser_titlebar.cc
@@ -312,8 +312,8 @@ void BrowserTitlebar::Init() {
// If multi-profile is enabled set up profile button and login notifications.
// The button lives in its own vbox in container_hbox_.
- ProfileInfoCache& cache =
- g_browser_process->profile_manager()->GetProfileInfoCache();
+ ProfileInfoInterface& cache =
+ g_browser_process->profile_manager()->GetProfileInfo();
if (ProfileManager::IsMultipleProfilesEnabled() &&
cache.GetNumberOfProfiles() > 1 &&
!browser_window_->browser()->profile()->IsOffTheRecord()) {

Powered by Google App Engine
This is Rietveld 408576698