summaryrefslogtreecommitdiffstats
path: root/chrome/browser/ui/views
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/ui/views')
-rw-r--r--chrome/browser/ui/views/frame/browser_view.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/ui/views/frame/browser_view.cc b/chrome/browser/ui/views/frame/browser_view.cc
index 95bcc14..556af60 100644
--- a/chrome/browser/ui/views/frame/browser_view.cc
+++ b/chrome/browser/ui/views/frame/browser_view.cc
@@ -476,7 +476,7 @@ bool BrowserView::ShouldShowAvatar() const {
if (IsOffTheRecord())
return true;
- if (CommandLine::ForCurrentProcess()->HasSwitch(switches::kMultiProfiles)) {
+ if (ProfileManager::IsMultipleProfilesEnabled()) {
// TODO(sail): Once the multi-profile options UI is done we only want to
// show the avatar if the user has more than one profile.
return true;