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

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: Fixed various problems surfaced by trybots. 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 8b66dd4a17dde2ee202d91011cae6735b2f89c07..bcd080ec747796685e65637c00f2e11e1595915b 100644
--- a/chrome/browser/ui/webui/downloads_dom_handler.cc
+++ b/chrome/browser/ui/webui/downloads_dom_handler.cc
@@ -219,7 +219,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) {

Powered by Google App Engine
This is Rietveld 408576698