Bug 577230 nsJPEGEncoder::mImageBufferReadPoint will be initialized after nsJPEGEncoder::mFinished

r=jmuizelaar

--HG--
extra : rebase_source : 4749619bdf1ffad836353da6d22a9f37377d8080
This commit is contained in:
timeless@mozdev.org 2010-07-07 12:38:40 +03:00
parent a223d358d1
commit c32cacc40f

View File

@ -53,9 +53,10 @@ struct encoder_error_mgr {
jmp_buf setjmp_buffer;
};
nsJPEGEncoder::nsJPEGEncoder() : mImageBuffer(nsnull), mImageBufferSize(0),
nsJPEGEncoder::nsJPEGEncoder() : mFinished(PR_FALSE),
mImageBuffer(nsnull), mImageBufferSize(0),
mImageBufferUsed(0), mImageBufferReadPoint(0),
mFinished(PR_FALSE), mCallback(nsnull),
mCallback(nsnull),
mCallbackTarget(nsnull), mNotifyThreshold(0),
mMonitor("JPEG Encoder Monitor")
{