Index: chrome/browser/ui/views/download/download_shelf_context_menu_view.cc |
diff --git a/chrome/browser/ui/views/download/download_shelf_context_menu_view.cc b/chrome/browser/ui/views/download/download_shelf_context_menu_view.cc |
index f9917eb5e6265ba4abe38e338695a34e92c93f70..3bd7862c8206cd4cae6e8b624ada1bdf153ebe4d 100644 |
--- a/chrome/browser/ui/views/download/download_shelf_context_menu_view.cc |
+++ b/chrome/browser/ui/views/download/download_shelf_context_menu_view.cc |
@@ -21,7 +21,7 @@ DownloadShelfContextMenuView::DownloadShelfContextMenuView( |
DownloadShelfContextMenuView::~DownloadShelfContextMenuView() {} |
-bool DownloadShelfContextMenuView::Run(views::Widget* parent_widget, |
+void DownloadShelfContextMenuView::Run(views::Widget* parent_widget, |
const gfx::Rect& rect) { |
views::MenuModelAdapter menu_model_adapter(GetMenuModel()); |
menu_runner_.reset(new views::MenuRunner(menu_model_adapter.CreateMenu())); |
@@ -32,14 +32,10 @@ bool DownloadShelfContextMenuView::Run(views::Widget* parent_widget, |
position = views::MenuItemView::TOPRIGHT; |
else |
position = views::MenuItemView::TOPLEFT; |
- return menu_runner_->RunMenuAt( |
+ menu_runner_->RunMenuAt( |
parent_widget, |
NULL, |
rect, |
position, |
- views::MenuRunner::HAS_MNEMONICS) == views::MenuRunner::MENU_DELETED; |
-} |
- |
-void DownloadShelfContextMenuView::Stop() { |
- set_download_item(NULL); |
+ views::MenuRunner::HAS_MNEMONICS); |
} |