Index: chrome/browser/automation/testing_automation_provider.cc |
diff --git a/chrome/browser/automation/testing_automation_provider.cc b/chrome/browser/automation/testing_automation_provider.cc |
index 71f1eac11174b98dae71ea7744705355676193f2..28c1f534dd70f65daf777f078697ce87249fdb07 100644 |
--- a/chrome/browser/automation/testing_automation_provider.cc |
+++ b/chrome/browser/automation/testing_automation_provider.cc |
@@ -3127,7 +3127,7 @@ void TestingAutomationProvider::PerformActionOnDownload( |
} else if (action == "cancel") { |
selected_item->AddObserver(new AutomationProviderDownloadUpdatedObserver( |
this, reply_message, false)); |
- selected_item->Cancel(true); |
+ selected_item->Cancel(); |
} else { |
AutomationJSONReply(this, reply_message) |
.SendError(StringPrintf("Invalid action '%s' given.", action.c_str())); |