зеркало из 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:
Родитель
852b5dc273
Коммит
99c4ffa500
|
@ -348,8 +348,8 @@ void imgRequest::Cancel(nsresult aStatus)
|
|||
RemoveFromCache();
|
||||
}
|
||||
|
||||
if (mChannel && mLoading)
|
||||
mChannel->Cancel(aStatus);
|
||||
if (mRequest && mLoading)
|
||||
mRequest->Cancel(aStatus);
|
||||
}
|
||||
|
||||
void imgRequest::CancelAndAbort(nsresult aStatus)
|
||||
|
|
Загрузка…
Ссылка в новой задаче