From 73b4b6518bf7d7693518e0b618a019e18118bd25 Mon Sep 17 00:00:00 2001 From: "timeless%mozdev.org" Date: Tue, 20 May 2003 02:02:56 +0000 Subject: [PATCH] Bug 206287 things Will be re-ordered to match declaration order r=roc+moz sr=roc+moz a=roc+moz git-svn-id: svn://10.0.0.236/trunk@142636 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/accessible/src/base/nsBaseWidgetAccessible.cpp | 7 +++++-- mozilla/editor/libeditor/base/nsEditor.cpp | 2 +- .../dirserviceprovider/src/nsProfileDirServiceProvider.cpp | 3 ++- mozilla/xpcom/components/nsNativeComponentLoader.cpp | 4 +++- mozilla/xpcom/components/xcDll.cpp | 2 +- mozilla/xpinstall/src/nsInstall.cpp | 4 ++-- 6 files changed, 14 insertions(+), 8 deletions(-) diff --git a/mozilla/accessible/src/base/nsBaseWidgetAccessible.cpp b/mozilla/accessible/src/base/nsBaseWidgetAccessible.cpp index 592a4fce3c3..8e9ccd7e59d 100644 --- a/mozilla/accessible/src/base/nsBaseWidgetAccessible.cpp +++ b/mozilla/accessible/src/base/nsBaseWidgetAccessible.cpp @@ -197,8 +197,11 @@ NS_IMETHODIMP nsLeafAccessible::GetAccChildCount(PRInt32 *_retval) // nsLinkableAccessible //---------------- -nsLinkableAccessible::nsLinkableAccessible(nsIDOMNode* aNode, nsIWeakReference* aShell): -nsAccessibleWrap(aNode, aShell), mIsALinkCached(PR_FALSE), mLinkContent(nsnull), mIsLinkVisited(PR_FALSE) +nsLinkableAccessible::nsLinkableAccessible(nsIDOMNode* aNode, nsIWeakReference* aShell) : + nsAccessibleWrap(aNode, aShell), + mLinkContent(nsnull), + mIsALinkCached(PR_FALSE), + mIsLinkVisited(PR_FALSE) { } diff --git a/mozilla/editor/libeditor/base/nsEditor.cpp b/mozilla/editor/libeditor/base/nsEditor.cpp index 7eba6d18c26..8a17e339fa6 100644 --- a/mozilla/editor/libeditor/base/nsEditor.cpp +++ b/mozilla/editor/libeditor/base/nsEditor.cpp @@ -153,11 +153,11 @@ nsEditor::nsEditor() , mAction(nsnull) , mDirection(eNone) , mInIMEMode(PR_FALSE) -, mIsIMEComposing(PR_FALSE) , mIMETextRangeList(nsnull) , mIMETextNode(nsnull) , mIMETextOffset(0) , mIMEBufferLength(0) +, mIsIMEComposing(PR_FALSE) , mActionListeners(nsnull) , mEditorObservers(nsnull) , mDocDirtyState(-1) diff --git a/mozilla/profile/dirserviceprovider/src/nsProfileDirServiceProvider.cpp b/mozilla/profile/dirserviceprovider/src/nsProfileDirServiceProvider.cpp index c649b51f0df..06c051cf22a 100755 --- a/mozilla/profile/dirserviceprovider/src/nsProfileDirServiceProvider.cpp +++ b/mozilla/profile/dirserviceprovider/src/nsProfileDirServiceProvider.cpp @@ -92,7 +92,8 @@ nsIAtom* nsProfileDirServiceProvider::sApp_MessengerFolderCache50; //***************************************************************************** nsProfileDirServiceProvider::nsProfileDirServiceProvider(PRBool aNotifyObservers) : - mNotifyObservers(aNotifyObservers), mProfileDirLock(nsnull), + mProfileDirLock(nsnull), + mNotifyObservers(aNotifyObservers), mSharingEnabled(PR_FALSE) { } diff --git a/mozilla/xpcom/components/nsNativeComponentLoader.cpp b/mozilla/xpcom/components/nsNativeComponentLoader.cpp index a97395745b1..e83ba862aaf 100644 --- a/mozilla/xpcom/components/nsNativeComponentLoader.cpp +++ b/mozilla/xpcom/components/nsNativeComponentLoader.cpp @@ -53,7 +53,9 @@ extern PRLogModuleInfo *nsComponentManagerLog; nsNativeComponentLoader::nsNativeComponentLoader() : - mCompMgr(nsnull), mDllStore(nsnull), mLoadedDependentLibs(nsnull) + mCompMgr(nsnull), + mLoadedDependentLibs(nsnull), + mDllStore(nsnull) { } diff --git a/mozilla/xpcom/components/xcDll.cpp b/mozilla/xpcom/components/xcDll.cpp index 0a6eb7f285e..203ee259b63 100644 --- a/mozilla/xpcom/components/xcDll.cpp +++ b/mozilla/xpcom/components/xcDll.cpp @@ -73,9 +73,9 @@ nsDll::nsDll(nsIFile *dllSpec, nsNativeComponentLoader *loader) : m_dllSpec(do_QueryInterface(dllSpec)), - m_loader(loader), m_instance(NULL), m_moduleObject(NULL), + m_loader(loader), m_markForUnload(PR_FALSE) { NS_ASSERTION(loader, "Null loader when creating a nsDLL"); diff --git a/mozilla/xpinstall/src/nsInstall.cpp b/mozilla/xpinstall/src/nsInstall.cpp index e2bd3118b0a..b1870d9299e 100644 --- a/mozilla/xpinstall/src/nsInstall.cpp +++ b/mozilla/xpinstall/src/nsInstall.cpp @@ -147,12 +147,12 @@ nsInstallInfo::nsInstallInfo(PRUint32 aInstallType, PRUint32 flags, nsIXPIListener* aListener, nsIXULChromeRegistry* aChromeRegistry) -: mError(0), +: mPrincipal(aPrincipal), + mError(0), mType(aInstallType), mFlags(flags), mURL(aURL), mArgs(aArgs), - mPrincipal(aPrincipal), mFile(aFile), mListener(aListener), mChromeRegistry(aChromeRegistry)