Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(650)

Unified Diff: content/browser/download/save_package.cc

Issue 7796014: Make cancel remove cancelled download from active queues at time of cancel. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixes from running tests locally in Sandbox. Created 9 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/browser/download/save_package.cc
diff --git a/content/browser/download/save_package.cc b/content/browser/download/save_package.cc
index 5cb56df93540cf13eb6e30db2648349f3eeb2009..0db630af93d329a78754e6d8ff8d40a74761f1a6 100644
--- a/content/browser/download/save_package.cc
+++ b/content/browser/download/save_package.cc
@@ -626,7 +626,7 @@ void SavePackage::Stop() {
// Inform the DownloadItem we have canceled whole save page job.
if (download_) {
- download_->Cancel(false);
+ download_->Cancel();
FinalizeDownloadEntry();
}
}

Powered by Google App Engine
This is Rietveld 408576698