зеркало из https://github.com/mozilla/gecko-dev.git
Backed out changeset af92d892c054 (bug 1166349) for Werror bustage.
CLOSED TREE
This commit is contained in:
Родитель
03e3951e16
Коммит
3a1bea9785
|
@ -1857,7 +1857,7 @@ nsXMLHttpRequest::StreamReaderFunc(nsIInputStream* in,
|
|||
xmlHttpRequest->mResponseXML) {
|
||||
// Copy for our own use
|
||||
uint32_t previousLength = xmlHttpRequest->mResponseBody.Length();
|
||||
xmlHttpRequest->mResponseBody.Append(fromRawSegment, count, fallible);
|
||||
xmlHttpRequest->mResponseBody.Append(fromRawSegment,count);
|
||||
if (count > 0 && xmlHttpRequest->mResponseBody.Length() == previousLength) {
|
||||
return NS_ERROR_OUT_OF_MEMORY;
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче