mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-15 14:25:52 +00:00
Bug 501423 followup: Reorder init lists to fix "will be initialized after" build warnings. r=jst
This commit is contained in:
parent
868688bc4b
commit
1675bffaf0
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user