Bug 872330 - Remove senseless code in nsDownload::Cancel. r=mak

This commit is contained in:
Christian Ascheberg 2013-05-29 20:22:09 +02:00
Родитель ca4fe03bf6
Коммит b6fd4dabc1
1 изменённых файлов: 0 добавлений и 4 удалений

Просмотреть файл

@ -3365,10 +3365,6 @@ nsDownload::Cancel()
if (IsFinished())
return NS_OK;
// if the download is fake-paused, we have to resume it so we can cancel it
if (IsPaused() && !IsResumable())
(void)Resume();
// Have the download cancel its connection
(void)CancelTransfer();