Bug 616206 - constructor init lists out of order in dom/ipc/ContentChild.cpp, dom/ipc/TabParent.cpp. r=dougt, a=dougt
authorDaniel Holbert <dholbert@cs.stanford.edu>
Sun, 05 Dec 2010 13:15:36 +0000
changeset 58630 3e68a0b2cdc47c59681f11705baa49380757ad6e
parent 58629 566bac81d5febeca7bdf208162aea69cb353ad6d
child 58631 8c3e817ba0349b854dc7e66dab7e2fd97ebb9caf
push id17389
push userjwatt@jwatt.org
push dateSun, 05 Dec 2010 14:31:57 +0000
treeherdermozilla-central@20441229d0a7 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersdougt, dougt
bugs616206
milestone2.0b8pre
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 616206 - constructor init lists out of order in dom/ipc/ContentChild.cpp, dom/ipc/TabParent.cpp. r=dougt, a=dougt
dom/ipc/ContentChild.cpp
dom/ipc/TabParent.cpp
--- a/dom/ipc/ContentChild.cpp
+++ b/dom/ipc/ContentChild.cpp
@@ -109,18 +109,18 @@ using namespace mozilla::docshell;
 
 namespace mozilla {
 namespace dom {
 class AlertObserver
 {
 public:
 
     AlertObserver(nsIObserver *aObserver, const nsString& aData)
-        : mData(aData)
-        , mObserver(aObserver)
+        : mObserver(aObserver)
+        , mData(aData)
     {
     }
 
     ~AlertObserver() {}
 
     bool ShouldRemoveFrom(nsIObserver* aObserver,
                           const nsString& aData) const
     {
--- a/dom/ipc/TabParent.cpp
+++ b/dom/ipc/TabParent.cpp
@@ -82,18 +82,18 @@ using namespace mozilla::layout;
 namespace mozilla {
 namespace dom {
 
 TabParent *TabParent::mIMETabParent = nsnull;
 
 NS_IMPL_ISUPPORTS3(TabParent, nsITabParent, nsIAuthPromptProvider, nsISecureBrowserUI)
 
 TabParent::TabParent()
-  : mIMECompositionEnding(PR_FALSE)
-  , mIMEComposing(PR_FALSE)
+  : mIMEComposing(PR_FALSE)
+  , mIMECompositionEnding(PR_FALSE)
 {
 }
 
 TabParent::~TabParent()
 {
 }
 
 void