Bug 501423 followup: Reorder init lists to fix "will be initialized after" build warnings. r=jst

This commit is contained in:
Daniel Holbert 2010-02-02 12:05:24 -08:00
parent 868688bc4b
commit 1675bffaf0
2 changed files with 5 additions and 5 deletions

View File

@ -660,9 +660,9 @@ nsGlobalWindow::nsGlobalWindow(nsGlobalWindow *aOuterWindow)
mTimeoutPublicIdCounter(1),
mTimeoutFiringDepth(0),
mJSObject(nsnull),
mPendingStorageEventsObsolete(nsnull),
mTimeoutsSuspendDepth(0),
mFocusMethod(0),
mPendingStorageEventsObsolete(nsnull)
mFocusMethod(0)
#ifdef DEBUG
, mSetOpenerWindowCalled(PR_FALSE)
#endif

View File

@ -550,8 +550,8 @@ NS_NewDOMStorage2(nsISupports* aOuter, REFNSIID aIID, void** aResult)
nsDOMStorage::nsDOMStorage()
: mUseDB(PR_FALSE)
, mSessionOnly(PR_TRUE)
, mItemsCached(PR_FALSE)
, mStorageType(nsPIDOMStorage::Unknown)
, mItemsCached(PR_FALSE)
, mEventBroadcaster(nsnull)
{
mSecurityChecker = this;
@ -562,10 +562,10 @@ nsDOMStorage::nsDOMStorage()
nsDOMStorage::nsDOMStorage(nsDOMStorage& aThat)
: mUseDB(PR_FALSE) // Any clone is not using the database
, mSessionOnly(PR_TRUE)
, mItemsCached(PR_FALSE)
, mDomain(aThat.mDomain)
, mSessionOnly(PR_TRUE)
, mStorageType(aThat.mStorageType)
, mItemsCached(PR_FALSE)
#ifdef MOZ_STORAGE
, mScopeDBKey(aThat.mScopeDBKey)
#endif