Index: chrome/browser/ui/cocoa/profiles/avatar_menu_bubble_controller.mm |
diff --git a/chrome/browser/ui/cocoa/profiles/avatar_menu_bubble_controller.mm b/chrome/browser/ui/cocoa/profiles/avatar_menu_bubble_controller.mm |
index 48afe7881b69f169867fe4e969ff88fb9f931fac..1b3086c197c70936e4351d93bf7128173431b31c 100644 |
--- a/chrome/browser/ui/cocoa/profiles/avatar_menu_bubble_controller.mm |
+++ b/chrome/browser/ui/cocoa/profiles/avatar_menu_bubble_controller.mm |
@@ -91,8 +91,9 @@ const CGFloat kSupervisedUserSpacing = 26.0; |
- (IBAction)switchToProfile:(id)sender { |
// Check the event flags to see if a new window should be crated. |
- bool always_create = ui::WindowOpenDispositionFromNSEvent( |
- [NSApp currentEvent]) == NEW_WINDOW; |
+ bool always_create = |
+ ui::WindowOpenDispositionFromNSEvent([NSApp currentEvent]) == |
+ WindowOpenDisposition::NEW_WINDOW; |
menu_->SwitchToProfile([sender menuIndex], always_create, |
ProfileMetrics::SWITCH_PROFILE_ICON); |
} |