Bug 770287: Reorder IDBIndex constructor init list to fix build warning. r=khuey
authorDaniel Holbert <dholbert@cs.stanford.edu>
Tue, 03 Jul 2012 14:09:35 -0700
changeset 98216 8ea07a17e25c
parent 98215 2d70201995f1
child 98217 121f87144909
push id11420
push userdholbert@mozilla.com
push date2012-07-03 21:10 +0000
treeherdermozilla-inbound@8ea07a17e25c [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerskhuey
bugs770287
milestone16.0a1
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 770287: Reorder IDBIndex constructor init list to fix build warning. r=khuey
dom/indexedDB/IDBIndex.cpp
--- a/dom/indexedDB/IDBIndex.cpp
+++ b/dom/indexedDB/IDBIndex.cpp
@@ -389,19 +389,19 @@ IDBIndex::Create(IDBObjectStore* aObject
     objectStoreActor->SendPIndexedDBIndexConstructor(actor.forget(), params);
   }
 
   return index.forget();
 }
 
 IDBIndex::IDBIndex()
 : mId(LL_MININT),
+  mKeyPath(0),
   mActorChild(nsnull),
   mActorParent(nsnull),
-  mKeyPath(0),
   mCachedKeyPath(JSVAL_VOID),
   mUnique(false),
   mMultiEntry(false),
   mRooted(false)
 {
   NS_ASSERTION(NS_IsMainThread(), "Wrong thread!");
 }