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

Unified Diff: chrome/browser/profiles/avatar_menu.cc

Issue 1128173005: Clean up ProfileManager interface. Base URL: https://chromium.googlesource.com/chromium/src@issue479309
Patch Set: sync Created 5 years, 7 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/profiles/avatar_menu.cc
diff --git a/chrome/browser/profiles/avatar_menu.cc b/chrome/browser/profiles/avatar_menu.cc
index 8f50fc7cba6516c06f79fb818aa429151cd8c8f1..44792bbf2bf7ca8fedb27b55abd8b25c22325e5d 100644
--- a/chrome/browser/profiles/avatar_menu.cc
+++ b/chrome/browser/profiles/avatar_menu.cc
@@ -188,7 +188,7 @@ size_t AvatarMenu::GetActiveProfileIndex() {
Profile* active_profile = NULL;
if (!browser_)
- active_profile = ProfileManager::GetLastUsedProfile();
+ active_profile = g_browser_process->profile_manager()->GetLastUsedProfile();
else
active_profile = browser_->profile();

Powered by Google App Engine
This is Rietveld 408576698