Bug 734384 - Bustage fix for fallout from Bug 696242. Update NS_RegisterStaticAtoms to only take one parameter. r=bustage-fix.
authorMike Conley <mconley@mozilla.com>
Fri, 09 Mar 2012 10:57:40 -0500
changeset 11042 1648132268975b0156ee2241464da24ef96f5878
parent 11041 e44c6a11bcbfc06a257bebe858e3c486b5b7f63b
child 11043 d32f2001cc1f6350da8941f09e8c4f24882a6aa6
push id463
push userbugzilla@standard8.plus.com
push dateTue, 24 Apr 2012 17:34:51 +0000
treeherdercomm-beta@e53588e8f7b0 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbustage-fix
bugs734384, 696242
Bug 734384 - Bustage fix for fallout from Bug 696242. Update NS_RegisterStaticAtoms to only take one parameter. r=bustage-fix.
mailnews/base/util/nsMsgDBFolder.cpp
--- a/mailnews/base/util/nsMsgDBFolder.cpp
+++ b/mailnews/base/util/nsMsgDBFolder.cpp
@@ -171,17 +171,17 @@ nsMsgDBFolder::nsMsgDBFolder(void)
   mIsCachable(true),
   mHaveParsedURI(false),
   mIsServerIsValid(false),
   mIsServer(false),
   mInVFEditSearchScope (false)
 {
   if (mInstanceCount++ <=0) {
 #ifdef MOZILLA_INTERNAL_API //FIXME NS_RegisterStaticAtoms
-    NS_RegisterStaticAtoms(folder_atoms, NS_ARRAY_LENGTH(folder_atoms));
+    NS_RegisterStaticAtoms(folder_atoms);
 #else
 #define MSGDBFOLDER_ATOM(name_, value_) name_ = MsgNewPermanentAtom(value_);
 #include "nsMsgDBFolderAtomList.h"
 #undef MSGDBFOLDER_ATOM
 #endif
     initializeStrings();
     createCollationKeyGenerator();
     LL_I2L(gtimeOfLastPurgeCheck, 0);