Index: chrome/browser/download/download_shelf_context_menu.cc |
diff --git a/chrome/browser/download/download_shelf_context_menu.cc b/chrome/browser/download/download_shelf_context_menu.cc |
index d019d7a17589b89e2d29ba8e3cf79ff8dccef442..f1a42b7d4f58dcea75991adeaef45bc2dab60f4d 100644 |
--- a/chrome/browser/download/download_shelf_context_menu.cc |
+++ b/chrome/browser/download/download_shelf_context_menu.cc |
@@ -26,7 +26,7 @@ bool DownloadShelfContextMenu::IsCommandIdEnabled(int command_id) const { |
switch (command_id) { |
case SHOW_IN_FOLDER: |
case OPEN_WHEN_COMPLETE: |
- return !download_item_->IsCancelled(); |
+ return download_item_->CanShowInFolder(); |
case ALWAYS_OPEN_TYPE: |
return download_item_->CanOpenDownload(); |
case CANCEL: |