зеркало из https://github.com/mozilla/pjs.git
fix for rtm++ bug 57326, Crash trying to use the save link as context menu, r=gagan, sr=mscott.
This commit is contained in:
Родитель
5e52ae4dac
Коммит
abc25deed0
|
@ -75,7 +75,9 @@ public:
|
||||||
Cancel(nsresult status) {
|
Cancel(nsresult status) {
|
||||||
if (NS_SUCCEEDED(mAbortStatus)) {
|
if (NS_SUCCEEDED(mAbortStatus)) {
|
||||||
mAbortStatus = status;
|
mAbortStatus = status;
|
||||||
return mEventQueueStreamListener->OnStopRequest(mChannel, mContext, status, nsnull);
|
return mEventQueueStreamListener ?
|
||||||
|
mEventQueueStreamListener->OnStopRequest(mChannel, mContext, status, nsnull):
|
||||||
|
status;
|
||||||
} else {
|
} else {
|
||||||
// Cancel has already been called... Do not fire another OnStopRequest!
|
// Cancel has already been called... Do not fire another OnStopRequest!
|
||||||
return NS_OK;
|
return NS_OK;
|
||||||
|
|
Загрузка…
Ссылка в новой задаче