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 77c9a1be9d6ec738b191128eae1ed4664bb8532c..eca6ecf7fe7838c11180df9f4ecaccd04f5352f4 100644 |
--- a/chrome/browser/ui/cocoa/extensions/extension_installed_bubble_controller.mm |
+++ b/chrome/browser/ui/cocoa/extensions/extension_installed_bubble_controller.mm |
@@ -303,12 +303,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; |
} |