зеркало из https://github.com/mozilla/gecko-dev.git
Bug 872330 - Remove senseless code in nsDownload::Cancel. r=mak
This commit is contained in:
Родитель
ca4fe03bf6
Коммит
b6fd4dabc1
|
@ -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();
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче