| Index: chrome/browser/ui/webui/downloads_dom_handler.cc
|
| diff --git a/chrome/browser/ui/webui/downloads_dom_handler.cc b/chrome/browser/ui/webui/downloads_dom_handler.cc
|
| index be92a11a353bae762cca5328e4300147b70a4951..100d749ecd29bf86636537bed36b32233d2aff2e 100644
|
| --- a/chrome/browser/ui/webui/downloads_dom_handler.cc
|
| +++ b/chrome/browser/ui/webui/downloads_dom_handler.cc
|
| @@ -415,10 +415,8 @@ void DownloadsDOMHandler::HandlePause(const base::ListValue* args) {
|
| void DownloadsDOMHandler::HandleRemove(const base::ListValue* args) {
|
| CountDownloadsDOMEvents(DOWNLOADS_DOM_EVENT_REMOVE);
|
| content::DownloadItem* file = GetDownloadByValue(args);
|
| - if (file) {
|
| - DCHECK(file->IsPersisted());
|
| + if (file)
|
| file->Remove();
|
| - }
|
| }
|
|
|
| void DownloadsDOMHandler::HandleCancel(const base::ListValue* args) {
|
|
|