Index: chrome/browser/ui/cocoa/extensions/browser_actions_controller.mm |
diff --git a/chrome/browser/ui/cocoa/extensions/browser_actions_controller.mm b/chrome/browser/ui/cocoa/extensions/browser_actions_controller.mm |
index 0ddd6aaad1f9d3c6328e07bc6df8e790b5eb38e6..f9a32af382e63e7caa593c2c3ec88581db173c1d 100644 |
--- a/chrome/browser/ui/cocoa/extensions/browser_actions_controller.mm |
+++ b/chrome/browser/ui/cocoa/extensions/browser_actions_controller.mm |
@@ -161,7 +161,7 @@ const CGFloat kBrowserActionBubbleYOffset = 3.0; |
// Returns the associated ToolbarController. |
- (ToolbarController*)toolbarController; |
-// Creates a message bubble anchored to the given |anchorAction|, or the wrench |
+// Creates a message bubble anchored to the given |anchorAction|, or the app |
// menu if no |anchorAction| is null. |
- (ToolbarActionsBarBubbleMac*)createMessageBubble: |
(scoped_ptr<ToolbarActionsBarBubbleDelegate>)delegate |
@@ -438,7 +438,7 @@ void ToolbarActionsBarBridge::ShowExtensionMessageBubble( |
NSView* referenceButton = button; |
if ([button superview] != containerView_ || isOverflow_) { |
referenceButton = toolbarActionsBar_->platform_settings().chevron_enabled ? |
- chevronMenuButton_.get() : [[self toolbarController] wrenchButton]; |
+ chevronMenuButton_.get() : [[self toolbarController] appMenuButton]; |
bounds = [referenceButton bounds]; |
} else { |
bounds = [button convertRect:[button frameAfterAnimation] |
@@ -1023,7 +1023,7 @@ void ToolbarActionsBarBridge::ShowExtensionMessageBubble( |
anchorToSelf:(BOOL)anchorToSelf { |
DCHECK_GE([buttons_ count], 0u); |
NSView* anchorView = |
- anchorToSelf ? containerView_ : [[self toolbarController] wrenchButton]; |
+ anchorToSelf ? containerView_ : [[self toolbarController] appMenuButton]; |
NSPoint anchor = [self popupPointForView:anchorView |
withBounds:[anchorView bounds]]; |