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

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: Created 9 years, 6 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 a78d153457a519a415ef15e1646ab9d0214ed6a8..e700729195313c20492d290de36b8b8ed817bbc8 100644
--- a/chrome/browser/automation/automation_provider_observers.cc
+++ b/chrome/browser/automation/automation_provider_observers.cc
@@ -1461,7 +1461,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