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

Unified Diff: chrome/browser/download/download_item_model.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: Incorporated comments, fixed some stuff from try jobs. 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/download/download_item_model.cc
diff --git a/chrome/browser/download/download_item_model.cc b/chrome/browser/download/download_item_model.cc
index f37cb1fd35ec217fd560d70b9c2734956e33bc28..cdce434e46f05dcdb55753ff9bb7584e2e9f422e 100644
--- a/chrome/browser/download/download_item_model.cc
+++ b/chrome/browser/download/download_item_model.cc
@@ -25,7 +25,7 @@ DownloadItemModel::DownloadItemModel(DownloadItem* download)
}
void DownloadItemModel::CancelTask() {
- download_->Cancel(true /* update history service */);
+ download_->Cancel();
}
string16 DownloadItemModel::GetStatusText() {

Powered by Google App Engine
This is Rietveld 408576698