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 f29dc9441531866b8bcde8f23c0b93887f4a729a..b1cec057e9e7c9e4badc1be0203889038742bf2c 100644 |
--- a/chrome/browser/automation/testing_automation_provider.cc |
+++ b/chrome/browser/automation/testing_automation_provider.cc |
@@ -2992,7 +2992,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())); |