Index: chrome/browser/download/download_shelf.cc |
diff --git a/chrome/browser/download/download_shelf.cc b/chrome/browser/download/download_shelf.cc |
index 8d11e9ad4436c0c7fd092ac8100a2c19d5388f3d..404bb2bbfae65e00f05e3be01f259417dfec2627 100644 |
--- a/chrome/browser/download/download_shelf.cc |
+++ b/chrome/browser/download/download_shelf.cc |
@@ -27,6 +27,10 @@ DownloadShelfContextMenu::DownloadShelfContextMenu( |
DownloadShelfContextMenu::~DownloadShelfContextMenu() { |
} |
+DownloadItem* DownloadShelfContextMenu::download() const { |
+ return download_; |
+} |
+ |
bool DownloadShelfContextMenu::IsCommandIdChecked(int command_id) const { |
switch (command_id) { |
case OPEN_WHEN_COMPLETE: |