diff --git a/dom/base/nsXMLHttpRequest.cpp b/dom/base/nsXMLHttpRequest.cpp index c10b60861ba2..f9cc889d6d1f 100644 --- a/dom/base/nsXMLHttpRequest.cpp +++ b/dom/base/nsXMLHttpRequest.cpp @@ -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; }