y was off-by-1 when calling UpdateImage() in cairo builds

git-svn-id: svn://10.0.0.236/trunk@193359 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
pavlov%pavlov.net
2006-03-31 23:55:49 +00:00
parent 031aab3674
commit d3be75164e

View File

@@ -557,7 +557,7 @@ nsJPEGDecoder::OutputScanlines()
PRUint8 b = *j1++;
*ptrOutputBuf++ = (0xFF << 24) | (r << 16) | (g << 8) | b;
}
r.y = mInfo.output_scanline;
r.y = mInfo.output_scanline - 1;
img->ImageUpdated(nsnull, nsImageUpdateFlags_kBitsChanged, &r);
#else