| Index: chrome/browser/ui/cocoa/global_error_bubble_controller.mm
|
| diff --git a/chrome/browser/ui/cocoa/global_error_bubble_controller.mm b/chrome/browser/ui/cocoa/global_error_bubble_controller.mm
|
| index 951c6431ffde2b4972598ee338c58dc2ee7a1079..14c05cba4fce69cc36d27122073a1d12459f30b0 100644
|
| --- a/chrome/browser/ui/cocoa/global_error_bubble_controller.mm
|
| +++ b/chrome/browser/ui/cocoa/global_error_bubble_controller.mm
|
| @@ -52,15 +52,15 @@ class Bridge : public GlobalErrorBubbleViewBase {
|
| NSWindow* parentWindow = browser->window()->GetNativeWindow();
|
| BrowserWindowController* bwc = [BrowserWindowController
|
| browserWindowControllerForWindow:parentWindow];
|
| - NSView* wrenchButton = [[bwc toolbarController] wrenchButton];
|
| + NSView* appMenuButton = [[bwc toolbarController] appMenuButton];
|
| NSPoint offset = NSMakePoint(
|
| - NSMidX([wrenchButton bounds]),
|
| + NSMidX([appMenuButton bounds]),
|
| app_menu_controller::kAppMenuBubblePointOffsetY);
|
|
|
| // The bubble will be automatically deleted when the window is closed.
|
| GlobalErrorBubbleController* bubble = [[GlobalErrorBubbleController alloc]
|
| initWithWindowNibPath:@"GlobalErrorBubble"
|
| - relativeToView:wrenchButton
|
| + relativeToView:appMenuButton
|
| offset:offset];
|
| bubble->error_ = error;
|
| bubble->bridge_.reset(new GlobalErrorBubbleControllerInternal::Bridge(
|
|
|