Index: content/browser/download/download_item_impl_delegate.cc |
diff --git a/content/browser/download/download_item_impl_delegate.cc b/content/browser/download/download_item_impl_delegate.cc |
index bbfbea1065502a31382f35f5a22230e48026fac8..b4201aa2dc3fef45c0545f885e8c86cc819be6c4 100644 |
--- a/content/browser/download/download_item_impl_delegate.cc |
+++ b/content/browser/download/download_item_impl_delegate.cc |
@@ -37,10 +37,10 @@ void DownloadItemImplDelegate::DetermineDownloadTarget( |
target_path); |
} |
-void DownloadItemImplDelegate::ReadyForDownloadCompletion( |
+bool DownloadItemImplDelegate::ShouldCompleteDownload( |
DownloadItemImpl* download, |
const base::Closure& complete_callback) { |
- complete_callback.Run(); |
+ return true; |
} |
bool DownloadItemImplDelegate::ShouldOpenDownload( |