Index: chrome/browser/ui/webui/chromeos/imageburner/imageburner_ui.cc |
diff --git a/chrome/browser/ui/webui/chromeos/imageburner/imageburner_ui.cc b/chrome/browser/ui/webui/chromeos/imageburner/imageburner_ui.cc |
index ab79ef61358aeec6614d474d59c4fae2c2a1e32a..06e22a28347413a1ee1424c9adea7e2fc368f2fa 100644 |
--- a/chrome/browser/ui/webui/chromeos/imageburner/imageburner_ui.cc |
+++ b/chrome/browser/ui/webui/chromeos/imageburner/imageburner_ui.cc |
@@ -513,7 +513,7 @@ void WebUIHandler::ProcessError(int message_id) { |
// We don't want to process Download Cancelled signal. |
active_download_item_->RemoveObserver(this); |
if (active_download_item_->IsPartialDownload()) |
- active_download_item_->Cancel(true); |
+ active_download_item_->Cancel(); |
active_download_item_->Delete(DownloadItem::DELETE_DUE_TO_USER_DISCARD); |
active_download_item_ = NULL; |
CleanupDownloadObjects(); |
@@ -674,4 +674,3 @@ ImageBurnUI::ImageBurnUI(TabContents* contents) : ChromeWebUI(contents) { |
imageburner::UIHTMLSource* html_source = new imageburner::UIHTMLSource(); |
contents->profile()->GetChromeURLDataManager()->AddDataSource(html_source); |
} |
- |