Index: chrome/browser/ui/cocoa/extensions/extension_installed_bubble_controller.mm |
diff --git a/chrome/browser/ui/cocoa/extensions/extension_installed_bubble_controller.mm b/chrome/browser/ui/cocoa/extensions/extension_installed_bubble_controller.mm |
index 63883b009cf46273cc4c37a887f0e669314aa2ec..da177767d65a03cb9a8efcd97f2d0ac5605298ef 100644 |
--- a/chrome/browser/ui/cocoa/extensions/extension_installed_bubble_controller.mm |
+++ b/chrome/browser/ui/cocoa/extensions/extension_installed_bubble_controller.mm |
@@ -302,12 +302,12 @@ void ExtensionInstalledBubbleBridge::UpdateAnchorPosition() { |
} else { |
DCHECK(type_ == extension_installed_bubble::kBundle || |
type_ == extension_installed_bubble::kGeneric); |
- // Point at the bottom of the wrench menu. |
- NSView* wrenchButton = |
- [[window->cocoa_controller() toolbarController] wrenchButton]; |
- const NSRect bounds = [wrenchButton bounds]; |
+ // Point at the bottom of the app menu. |
+ NSView* appMenuButton = |
+ [[window->cocoa_controller() toolbarController] appMenuButton]; |
+ const NSRect bounds = [appMenuButton bounds]; |
NSPoint anchor = NSMakePoint(NSMidX(bounds), NSMaxY(bounds)); |
- arrowPoint = [wrenchButton convertPoint:anchor toView:nil]; |
+ arrowPoint = [appMenuButton convertPoint:anchor toView:nil]; |
} |
return arrowPoint; |
} |