Bug 616787 mEventloopNestingLevel is initialized out of order in nsBaseAppShell::nsBaseAppShell
authortimeless@mozdev.org
Mon, 28 Mar 2011 17:18:44 -0400
changeset 64113 f80a7ebc68c129d6130c780edf3a09d57abcbbfc
parent 64112 0c3b638b497779a5570acd1f313b34f2929e7ab9
child 64114 87c1707e48720ceadbf4936cd5246d3fdda97855
push idunknown
push userunknown
push dateunknown
bugs616787
milestone2.2a1pre
Bug 616787 mEventloopNestingLevel is initialized out of order in nsBaseAppShell::nsBaseAppShell r=neil
widget/src/xpwidgets/nsBaseAppShell.cpp
--- a/widget/src/xpwidgets/nsBaseAppShell.cpp
+++ b/widget/src/xpwidgets/nsBaseAppShell.cpp
@@ -51,20 +51,20 @@
 // next thread event for at most this many ticks:
 #define THREAD_EVENT_STARVATION_LIMIT PR_MillisecondsToInterval(20)
 
 NS_IMPL_THREADSAFE_ISUPPORTS3(nsBaseAppShell, nsIAppShell, nsIThreadObserver,
                               nsIObserver)
 
 nsBaseAppShell::nsBaseAppShell()
   : mSuspendNativeCount(0)
+  , mEventloopNestingLevel(0)
   , mBlockedWait(nsnull)
   , mFavorPerf(0)
   , mNativeEventPending(0)
-  , mEventloopNestingLevel(0)
   , mStarvationDelay(0)
   , mSwitchTime(0)
   , mLastNativeEventTime(0)
   , mEventloopNestingState(eEventloopNone)
   , mRunning(PR_FALSE)
   , mExiting(PR_FALSE)
   , mBlockNativeEvent(PR_FALSE)
 {