зеркало из https://github.com/mozilla/gecko-dev.git
Bug 392657 - "'ASSERTION: QueryInterface needed', nsURIChecker missing nsIRequestObserver in QI map". r+sr=biesi, a=bz.
This commit is contained in:
Родитель
e70dd85bb0
Коммит
e0f9d34448
|
@ -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,
|
||||
|
|
Загрузка…
Ссылка в новой задаче