mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 495098 - [@ nsXMLHttpRequest::StreamReaderFunc ], r+sr=sicking
--HG-- extra : rebase_source : 29d31152455cd9f6702f0788539f0b62bbcf3a98
This commit is contained in:
parent
fc4121bd32
commit
2fac929f6b
@ -1829,7 +1829,7 @@ nsXMLHttpRequest::StreamReaderFunc(nsIInputStream* in,
|
||||
nsCOMPtr<nsIInputStream> copyStream;
|
||||
rv = NS_NewByteInputStream(getter_AddRefs(copyStream), fromRawSegment, count);
|
||||
|
||||
if (NS_SUCCEEDED(rv)) {
|
||||
if (NS_SUCCEEDED(rv) && xmlHttpRequest->mXMLParserStreamListener) {
|
||||
NS_ASSERTION(copyStream, "NS_NewByteInputStream lied");
|
||||
nsresult parsingResult = xmlHttpRequest->mXMLParserStreamListener
|
||||
->OnDataAvailable(xmlHttpRequest->mReadRequest,
|
||||
|
Loading…
Reference in New Issue
Block a user