diff options
Diffstat (limited to 'chrome/browser/bookmarks/bookmark_context_menu_controller.cc')
-rw-r--r-- | chrome/browser/bookmarks/bookmark_context_menu_controller.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/bookmarks/bookmark_context_menu_controller.cc b/chrome/browser/bookmarks/bookmark_context_menu_controller.cc index 52145bd..32dba74 100644 --- a/chrome/browser/bookmarks/bookmark_context_menu_controller.cc +++ b/chrome/browser/bookmarks/bookmark_context_menu_controller.cc @@ -269,7 +269,7 @@ bool BookmarkContextMenuController::IsCommandIdEnabled(int command_id) const { case IDC_COPY: case IDC_CUT: - return selection_.size() > 0 && !is_root_node; + return !selection_.empty() && !is_root_node; case IDC_PASTE: // Paste to selection from the Bookmark Bar, to parent_ everywhere else |