Bug 720957 - contentLength is unsed in nsJSONListener::OnDataAvailable. r=smaug

This commit is contained in:
Makoto Kato 2012-01-25 20:15:20 +09:00
Родитель 77bda48bf8
Коммит 594c2f1293
1 изменённых файлов: 0 добавлений и 2 удалений

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

@ -634,8 +634,6 @@ nsJSONListener::OnDataAvailable(nsIRequest *aRequest, nsISupports *aContext,
nsIInputStream *aStream,
PRUint32 aOffset, PRUint32 aLength)
{
PRUint32 contentLength;
aStream->Available(&contentLength);
nsresult rv = NS_OK;
if (mNeedsConverter && mSniffBuffer.Length() < 4) {