| Index: chrome/browser/ui/cocoa/one_click_signin_bubble_controller.mm
|
| diff --git a/chrome/browser/ui/cocoa/one_click_signin_bubble_controller.mm b/chrome/browser/ui/cocoa/one_click_signin_bubble_controller.mm
|
| index e66f5ff6d8f97b667d4e6fbdb4ee62c5c5de9532..5acb2d8a6c6a9c61f218bd5c0a975c0ec7964740 100644
|
| --- a/chrome/browser/ui/cocoa/one_click_signin_bubble_controller.mm
|
| +++ b/chrome/browser/ui/cocoa/one_click_signin_bubble_controller.mm
|
| @@ -36,11 +36,11 @@ void PerformClose(OneClickSigninBubbleController* controller) {
|
|
|
| NSWindow* parentWindow = [controller window];
|
|
|
| - // Set the anchor point to right below the wrench menu.
|
| - NSView* wrenchButton = [[controller toolbarController] wrenchButton];
|
| - const NSRect bounds = [wrenchButton bounds];
|
| + // Set the anchor point to right below the app menu.
|
| + NSView* appMenuButton = [[controller toolbarController] appMenuButton];
|
| + const NSRect bounds = [appMenuButton bounds];
|
| NSPoint anchorPoint = NSMakePoint(NSMidX(bounds), NSMaxY(bounds));
|
| - anchorPoint = [wrenchButton convertPoint:anchorPoint toView:nil];
|
| + anchorPoint = [appMenuButton convertPoint:anchorPoint toView:nil];
|
| anchorPoint = [parentWindow convertBaseToScreen:anchorPoint];
|
|
|
| // Create an empty window into which content is placed.
|
|
|