| Index: chrome/browser/ui/cocoa/profiles/profile_chooser_controller.mm
|
| diff --git a/chrome/browser/ui/cocoa/profiles/profile_chooser_controller.mm b/chrome/browser/ui/cocoa/profiles/profile_chooser_controller.mm
|
| index c6f5b449cac641c6bc23e0fe581307aaaf836061..e3f42a0d8ffb505d942efb881a1da096665d4d2a 100644
|
| --- a/chrome/browser/ui/cocoa/profiles/profile_chooser_controller.mm
|
| +++ b/chrome/browser/ui/cocoa/profiles/profile_chooser_controller.mm
|
| @@ -43,7 +43,6 @@
|
| #include "chrome/browser/ui/cocoa/chrome_style.h"
|
| #import "chrome/browser/ui/cocoa/info_bubble_view.h"
|
| #import "chrome/browser/ui/cocoa/info_bubble_window.h"
|
| -#include "chrome/browser/ui/cocoa/l10n_util.h"
|
| #include "chrome/browser/ui/cocoa/profiles/signin_view_controller_delegate_mac.h"
|
| #import "chrome/browser/ui/cocoa/profiles/user_manager_mac.h"
|
| #include "chrome/browser/ui/profile_chooser_constants.h"
|
| @@ -76,6 +75,7 @@
|
| #import "ui/base/cocoa/controls/hyperlink_text_view.h"
|
| #import "ui/base/cocoa/hover_image_button.h"
|
| #include "ui/base/cocoa/window_size_constants.h"
|
| +#import "ui/base/cocoa/rtl_feature.h"
|
| #include "ui/base/l10n/l10n_util.h"
|
| #include "ui/base/l10n/l10n_util_mac.h"
|
| #include "ui/base/resource/resource_bundle.h"
|
| @@ -1367,9 +1367,8 @@ class ActiveProfileObserverBridge : public AvatarMenuObserver,
|
| [window accessibilitySetOverrideValue:
|
| l10n_util::GetNSString(IDS_PROFILES_NEW_AVATAR_MENU_ACCESSIBLE_NAME)
|
| forAttribute:NSAccessibilityHelpAttribute];
|
| - BOOL shouldUseLeadingEdgeForBubble =
|
| - cocoa_l10n_util::ShouldDoExperimentalRTLLayout() &&
|
| - !cocoa_l10n_util::ShouldFlipWindowControlsInRTL();
|
| + BOOL shouldUseLeadingEdgeForBubble = ui::ShouldDoExperimentalRTLLayout() &&
|
| + !ui::ShouldFlipWindowControlsInRTL();
|
| [[self bubble]
|
| setAlignment:shouldUseLeadingEdgeForBubble
|
| ? info_bubble::kAlignLeadingEdgeToAnchorEdge
|
|
|