Bug 577229 nsPNGEncoder::mImageBufferReadPoint will be initialized after nsPNGEncoder::mFinished

r=jmuizelaar

--HG--
extra : rebase_source : 20c5eb547b819fde0bdd915f7dc1f9a154e9ea57
This commit is contained in:
timeless@mozdev.org 2010-07-07 12:35:29 +03:00
parent a9cdfbf4fb
commit a2ec57da57

View File

@ -50,9 +50,10 @@ NS_IMPL_THREADSAFE_ISUPPORTS3(nsPNGEncoder, imgIEncoder, nsIInputStream, nsIAsyn
nsPNGEncoder::nsPNGEncoder() : mPNG(nsnull), mPNGinfo(nsnull),
mIsAnimation(PR_FALSE),
mFinished(PR_FALSE),
mImageBuffer(nsnull), mImageBufferSize(0),
mImageBufferUsed(0), mImageBufferReadPoint(0),
mFinished(PR_FALSE), mCallback(nsnull),
mCallback(nsnull),
mCallbackTarget(nsnull), mNotifyThreshold(0),
mMonitor("PNG Encoder Monitor")
{