зеркало из https://github.com/mozilla/gecko-dev.git
Bug 473161 - Fix imgRequest::Cancel() to call Cancel() on the loadgroup instead of the channel. The fix to bug 89419 included a mistaken change from cancelling the loadgroup to cancelling the channel. r=bzbarsky, sr=vladimir, a=blocking1.9.1+
This commit is contained in:
Родитель
1e33f7a527
Коммит
8c831651d3
|
@ -308,8 +308,8 @@ void imgRequest::Cancel(nsresult aStatus)
|
|||
RemoveFromCache();
|
||||
}
|
||||
|
||||
if (mChannel && mLoading)
|
||||
mChannel->Cancel(aStatus);
|
||||
if (mRequest && mLoading)
|
||||
mRequest->Cancel(aStatus);
|
||||
}
|
||||
|
||||
void imgRequest::CancelAndAbort(nsresult aStatus)
|
||||
|
|
Загрузка…
Ссылка в новой задаче