Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2937)

Unified Diff: chrome/browser/cocoa/bookmark_bar_controller.mm

Issue 251091: Mac: Eliminate unintended "menu" method overrides. (Closed)
Patch Set: Created 11 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/cocoa/back_forward_menu_controller.mm ('k') | chrome/browser/cocoa/delayedmenu_button.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/cocoa/bookmark_bar_controller.mm
diff --git a/chrome/browser/cocoa/bookmark_bar_controller.mm b/chrome/browser/cocoa/bookmark_bar_controller.mm
index da36bc1db8948c5a3077a2173146d1b64c292fdd..6f5a6fbbada899c457b99d6250313042ced5d328 100644
--- a/chrome/browser/cocoa/bookmark_bar_controller.mm
+++ b/chrome/browser/cocoa/bookmark_bar_controller.mm
@@ -107,7 +107,7 @@ const CGFloat kBookmarkHorizontalPadding = 1.0;
name:NSViewFrameDidChangeNotification
object:[self view]];
- DCHECK([offTheSideButton_ menu]);
+ DCHECK([offTheSideButton_ attachedMenu]);
}
- (void)showIfNeeded {
@@ -334,7 +334,7 @@ const CGFloat kBookmarkHorizontalPadding = 1.0;
// Get the off-the-side menu.
- (NSMenu*)offTheSideMenu {
- return [offTheSideButton_ menu];
+ return [offTheSideButton_ attachedMenu];
}
// Called by any menus which have set us as their delegate (right now just the
« no previous file with comments | « chrome/browser/cocoa/back_forward_menu_controller.mm ('k') | chrome/browser/cocoa/delayedmenu_button.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698