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

Unified Diff: chrome/browser/ui/webui/downloads_dom_handler.cc

Issue 7294013: Modified cancel and interrupt processing to avoid race with history. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merged to TOT. Again :-}. Created 9 years, 5 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: chrome/browser/ui/webui/downloads_dom_handler.cc
diff --git a/chrome/browser/ui/webui/downloads_dom_handler.cc b/chrome/browser/ui/webui/downloads_dom_handler.cc
index f5e7929ce49d63f00a34573c4dad7fb57e61c438..6ae03387cdcc121db0efa559292a2c74025b50aa 100644
--- a/chrome/browser/ui/webui/downloads_dom_handler.cc
+++ b/chrome/browser/ui/webui/downloads_dom_handler.cc
@@ -220,7 +220,7 @@ void DownloadsDOMHandler::HandleRemove(const ListValue* args) {
void DownloadsDOMHandler::HandleCancel(const ListValue* args) {
DownloadItem* file = GetDownloadByValue(args);
if (file)
- file->Cancel(true);
+ file->Cancel();
}
void DownloadsDOMHandler::HandleClearAll(const ListValue* args) {
« no previous file with comments | « chrome/browser/ui/webui/chromeos/imageburner/imageburner_ui.cc ('k') | chrome/test/data/download-dangerous.jar » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698