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

Unified Diff: chrome/browser/automation/automation_provider_observers.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/automation/automation_provider_observers.cc
diff --git a/chrome/browser/automation/automation_provider_observers.cc b/chrome/browser/automation/automation_provider_observers.cc
index 0323870e7ce539708dce8017c880ebe84af34da1..5165ca2157e9e11bfe32e3b00f6e12216a4b0557 100644
--- a/chrome/browser/automation/automation_provider_observers.cc
+++ b/chrome/browser/automation/automation_provider_observers.cc
@@ -1457,7 +1457,7 @@ void AutomationProviderDownloadItemObserver::OnDownloadUpdated(
// download is cancelled.
if (interrupted_) {
// |Cancel()| does nothing if |download| is already interrupted.
- download->Cancel(true);
+ download->Cancel();
RemoveAndCleanupOnLastEntry(download);
}

Powered by Google App Engine
This is Rietveld 408576698