| Index: chrome/browser/ui/cocoa/profiles/avatar_base_controller.mm
|
| diff --git a/chrome/browser/ui/cocoa/profiles/avatar_base_controller.mm b/chrome/browser/ui/cocoa/profiles/avatar_base_controller.mm
|
| index 3d8710d44f4dccf8ba35afb1b2f9afd019ff0189..271b2c3b78e80a557350ea42a21ce23019d13171 100644
|
| --- a/chrome/browser/ui/cocoa/profiles/avatar_base_controller.mm
|
| +++ b/chrome/browser/ui/cocoa/profiles/avatar_base_controller.mm
|
| @@ -19,11 +19,11 @@
|
| #include "chrome/browser/ui/browser_window.h"
|
| #import "chrome/browser/ui/cocoa/base_bubble_controller.h"
|
| #import "chrome/browser/ui/cocoa/browser_window_controller.h"
|
| -#include "chrome/browser/ui/cocoa/l10n_util.h"
|
| #import "chrome/browser/ui/cocoa/profiles/avatar_menu_bubble_controller.h"
|
| #import "chrome/browser/ui/cocoa/profiles/profile_chooser_controller.h"
|
| #include "components/signin/core/common/profile_management_switches.h"
|
| #include "ui/base/cocoa/cocoa_base_utils.h"
|
| +#import "ui/base/cocoa/rtl_feature.h"
|
|
|
| // Space between the avatar icon and the avatar menu bubble.
|
| const CGFloat kMenuYOffsetAdjust = 1.0;
|
| @@ -159,7 +159,7 @@ bool ProfileUpdateObserver::HasAvatarError() {
|
|
|
| // The new avatar bubble does not have an arrow, and it should be anchored
|
| // to the edge of the avatar button.
|
| - int anchorX = cocoa_l10n_util::ShouldFlipWindowControlsInRTL()
|
| + int anchorX = ui::ShouldFlipWindowControlsInRTL()
|
| ? NSMinX([anchor bounds]) + kMenuXOffsetAdjust
|
| : NSMaxX([anchor bounds]) - kMenuXOffsetAdjust;
|
| NSPoint point = NSMakePoint(anchorX,
|
|
|