Bug 376471 - "Make XBM decoding also write directly to Cairo image buffer" (add back missing OnStartFrame call) [p=alfredkayser@nl.ibm.com (Alfred Kayser) r+sr+a1.9=tor]

This commit is contained in:
reed@reedloden.com 2007-10-03 14:41:06 -07:00
parent 51c2b1c2b4
commit 4b52eaca7a

View File

@ -203,6 +203,9 @@ nsresult nsXBMDecoder::ProcessData(const char* aData, PRUint32 aCount) {
}
}
mImage->AppendFrame(mFrame);
mObserver->OnStartFrame(nsnull, mFrame);
PRUint32 imageLen;
mFrame->GetImageData((PRUint8**)&mImageData, &imageLen);