Bug 392657 - "'ASSERTION: QueryInterface needed', nsURIChecker missing nsIRequestObserver in QI map". r+sr=biesi, a=bz.

This commit is contained in:
bent.mozilla@gmail.com 2007-08-19 20:19:11 -07:00
Родитель e70dd85bb0
Коммит e0f9d34448
1 изменённых файлов: 7 добавлений и 2 удалений

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

@ -60,9 +60,10 @@ ServerIsNES3x(nsIHttpChannel *httpChannel)
//-----------------------------------------------------------------------------
NS_IMPL_ISUPPORTS5(nsURIChecker,
NS_IMPL_ISUPPORTS6(nsURIChecker,
nsIURIChecker,
nsIRequest,
nsIRequestObserver,
nsIStreamListener,
nsIChannelEventSink,
nsIInterfaceRequestor)
@ -303,7 +304,7 @@ nsURIChecker::SetLoadFlags(nsLoadFlags aLoadFlags)
}
//-----------------------------------------------------------------------------
// nsIStreamListener methods:
// nsIRequestObserever methods:
//-----------------------------------------------------------------------------
NS_IMETHODIMP
@ -333,6 +334,10 @@ nsURIChecker::OnStopRequest(nsIRequest *request, nsISupports *ctxt,
return NS_OK;
}
//-----------------------------------------------------------------------------
// nsIStreamListener methods:
//-----------------------------------------------------------------------------
NS_IMETHODIMP
nsURIChecker::OnDataAvailable(nsIRequest *aRequest, nsISupports *aCtxt,
nsIInputStream *aInput, PRUint32 aOffset,