зеркало из https://github.com/mozilla/pjs.git
add nsIStreamObserver to QI method. Since it is inherited from nsIStreamListener, you need to explicitly list both
otherwise it generates an assert when you use a nsCOMPtr to QI for a method on nsIStreamObserver
This commit is contained in:
Родитель
7947f7cad6
Коммит
da675522b2
|
@ -1149,7 +1149,7 @@ private:
|
|||
nsCOMPtr<nsIChannel> mChannel;
|
||||
};
|
||||
|
||||
NS_IMPL_ISUPPORTS2(InterceptStreamListener, nsIInputStream, nsIStreamListener)
|
||||
NS_IMPL_ISUPPORTS3(InterceptStreamListener, nsIInputStream, nsIStreamListener, nsIStreamObserver)
|
||||
|
||||
NS_IMETHODIMP
|
||||
nsCachedNetData::InterceptAsyncRead(nsIStreamListener *aOriginalListener,
|
||||
|
|
Загрузка…
Ссылка в новой задаче