summaryrefslogtreecommitdiffstats
path: root/chrome/browser/views/bookmark_bar_view.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/views/bookmark_bar_view.cc')
-rw-r--r--chrome/browser/views/bookmark_bar_view.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/chrome/browser/views/bookmark_bar_view.cc b/chrome/browser/views/bookmark_bar_view.cc
index 191aa04..d7fbabf 100644
--- a/chrome/browser/views/bookmark_bar_view.cc
+++ b/chrome/browser/views/bookmark_bar_view.cc
@@ -488,7 +488,7 @@ class MenuRunner : public ChromeViews::MenuDelegate,
return result;
}
- virtual void ShowContextMenu(MenuItemView* source,
+ virtual bool ShowContextMenu(MenuItemView* source,
int id,
int x,
int y,
@@ -498,6 +498,7 @@ class MenuRunner : public ChromeViews::MenuDelegate,
new BookmarkBarContextMenuController(view_, menu_id_to_node_map_[id]));
context_menu_->RunMenuAt(x, y);
context_menu_.reset(NULL);
+ return true;
}
virtual void DropMenuClosed(MenuItemView* menu) {