Bug 620898 warning ... will be initialized after mWindowId in Image and imgRequest. r=joe a=joe

This commit is contained in:
timeless@mozdev.org 2011-01-10 21:59:58 -08:00
parent 9e71c36163
commit b3e43a0be8
2 changed files with 4 additions and 4 deletions

View File

@ -42,12 +42,12 @@ namespace imagelib {
// Constructor
Image::Image(imgStatusTracker* aStatusTracker) :
mWindowId(0),
mAnimationConsumers(0),
mAnimationMode(kNormalAnimMode),
mInitialized(PR_FALSE),
mAnimating(PR_FALSE),
mError(PR_FALSE),
mWindowId(0)
mError(PR_FALSE)
{
if (aStatusTracker) {
mStatusTracker = aStatusTracker;

View File

@ -188,8 +188,8 @@ NS_IMPL_ISUPPORTS8(imgRequest,
imgRequest::imgRequest() :
mCacheId(0), mValidator(nsnull), mImageSniffers("image-sniffing-services"),
mDecodeRequested(PR_FALSE), mIsMultiPartChannel(PR_FALSE),
mGotData(PR_FALSE), mIsInCache(PR_FALSE), mWindowId(0)
mWindowId(0), mDecodeRequested(PR_FALSE), mIsMultiPartChannel(PR_FALSE),
mGotData(PR_FALSE), mIsInCache(PR_FALSE)
{}
imgRequest::~imgRequest()