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 7096da1024b0e9d4afc484fe85fc384268a36a54..9bec51d32cc55ba28e12844efb503546bd58d54f 100644 |
--- a/chrome/browser/automation/testing_automation_provider.cc |
+++ b/chrome/browser/automation/testing_automation_provider.cc |
@@ -2931,7 +2931,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())); |