Backed out changeset af92d892c054 (bug 1166349) for Werror bustage.

CLOSED TREE
This commit is contained in:
Ryan VanderMeulen 2015-05-19 20:38:17 -04:00
Родитель 03e3951e16
Коммит 3a1bea9785
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -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;
}