Index: chrome/browser/ui/cocoa/profiles/avatar_icon_controller.mm |
diff --git a/chrome/browser/ui/cocoa/profiles/avatar_icon_controller.mm b/chrome/browser/ui/cocoa/profiles/avatar_icon_controller.mm |
index a35b80173409b96d0b4f9d8d47602a1f0b0a6be3..819e53af4f1042105313f134c91bf8db482b4576 100644 |
--- a/chrome/browser/ui/cocoa/profiles/avatar_icon_controller.mm |
+++ b/chrome/browser/ui/cocoa/profiles/avatar_icon_controller.mm |
@@ -111,9 +111,9 @@ const CGFloat kAvatarLabelRightSpacing = 2; |
[self setButtonEnabled:YES]; |
[self updateAvatarButtonAndLayoutParent:NO]; |
- // Managed users cannot enter incognito mode, so we only need to check |
+ // Supervised users cannot enter incognito mode, so we only need to check |
// it in this code path. |
- if (profile->IsManaged()) { |
+ if (profile->IsSupervised()) { |
// Initialize the avatar label button. |
CGFloat extraWidth = |
profiles::kAvatarIconWidth + kAvatarLabelRightSpacing; |