Index: chrome/browser/ui/cocoa/download/download_item_controller.mm |
diff --git a/chrome/browser/ui/cocoa/download/download_item_controller.mm b/chrome/browser/ui/cocoa/download/download_item_controller.mm |
index 4e9d7478e681a5140d347d682c708ac1adf5b6e9..e250bfdc72f1ee8a7ddf7289a5efec08b8dcfd05 100644 |
--- a/chrome/browser/ui/cocoa/download/download_item_controller.mm |
+++ b/chrome/browser/ui/cocoa/download/download_item_controller.mm |
@@ -195,7 +195,7 @@ class DownloadShelfContextMenuMac : public DownloadShelfContextMenu { |
} |
// Set correct popup menu. Also, set draggable download on completion. |
- if (downloadModel->download()->IsComplete()) { |
+ if (downloadModel->download()->GetState() == DownloadItem::COMPLETE) { |
[progressView_ setMenu:completeDownloadMenu_]; |
[progressView_ setDownload:downloadModel->download()->GetTargetFilePath()]; |
} else { |