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

Unified Diff: chrome/browser/ui/cocoa/bookmarks/bookmark_button_cell.mm

Issue 23522055: [Mac] Show context menu on empty BMB item. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 7 years, 3 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
Index: chrome/browser/ui/cocoa/bookmarks/bookmark_button_cell.mm
===================================================================
--- chrome/browser/ui/cocoa/bookmarks/bookmark_button_cell.mm (revision 222257)
+++ chrome/browser/ui/cocoa/bookmarks/bookmark_button_cell.mm (working copy)
@@ -183,9 +183,6 @@
}
- (NSMenu*)menu {
- if (empty_)
- return nil;
-
// If node is NULL, this is a custom button, the menu does not represent
// anything.
const BookmarkNode* node = [self bookmarkNode];

Powered by Google App Engine
This is Rietveld 408576698