summaryrefslogtreecommitdiffstats
path: root/chrome/browser/ui/webui/active_downloads_ui.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/ui/webui/active_downloads_ui.cc')
-rw-r--r--chrome/browser/ui/webui/active_downloads_ui.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/ui/webui/active_downloads_ui.cc b/chrome/browser/ui/webui/active_downloads_ui.cc
index 3d5af17..5114b9f 100644
--- a/chrome/browser/ui/webui/active_downloads_ui.cc
+++ b/chrome/browser/ui/webui/active_downloads_ui.cc
@@ -270,7 +270,7 @@ void ActiveDownloadsHandler::HandleCancelDownload(const ListValue* args) {
DownloadItem* item = GetDownloadById(args);
if (item) {
if (item->IsPartialDownload())
- item->Cancel(true);
+ item->Cancel();
item->Delete(DownloadItem::DELETE_DUE_TO_USER_DISCARD);
}
}