зеркало из https://github.com/mozilla/gecko-dev.git
fix to build with new AsyncRead interface from nsIChannel
This commit is contained in:
Родитель
f9e00b49a3
Коммит
4b6841d203
|
@ -55,7 +55,7 @@ nsHTTPRequestObserver::OnStopBinding(nsISupports* i_pContext,
|
|||
{
|
||||
//Prepare to receive the response!
|
||||
nsHTTPResponseListener* pListener = new nsHTTPResponseListener();
|
||||
m_pTransport->AsyncRead(nsnull, nsnull /*gEventQ */, pListener);
|
||||
m_pTransport->AsyncRead(0, -1, nsnull, nsnull /*gEventQ */, pListener);
|
||||
//TODO check this portion here...
|
||||
return pListener ? NS_OK : NS_ERROR_OUT_OF_MEMORY;
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче