diff --git a/xpfe/AppCores/src/nsAppCoresManager.cpp b/xpfe/AppCores/src/nsAppCoresManager.cpp index 0da5903eff79..731489977d5d 100644 --- a/xpfe/AppCores/src/nsAppCoresManager.cpp +++ b/xpfe/AppCores/src/nsAppCoresManager.cpp @@ -18,10 +18,10 @@ * Netscape Communications Corporation. All Rights Reserved. */ +#include "nsAppCoresManager.h" #include "nsAppCoresCIDs.h" #include "nsAppCores.h" -#include "nsAppCoresManager.h" #include "nsAppCoresNameSet.h" #include "nscore.h" @@ -92,6 +92,8 @@ static NS_DEFINE_IID(kMailCoreFactoryCID, NS_MAILCOREFACTORY_CID); // nsAppCoresManager ///////////////////////////////////////////////////////////////////////// +nsVoidArray nsAppCoresManager::mList; + nsAppCoresManager::nsAppCoresManager() { mScriptObject = nsnull; diff --git a/xpfe/AppCores/src/nsAppCoresManager.h b/xpfe/AppCores/src/nsAppCoresManager.h index c03cbdd0d3d9..5e1829f8f975 100644 --- a/xpfe/AppCores/src/nsAppCoresManager.h +++ b/xpfe/AppCores/src/nsAppCoresManager.h @@ -56,7 +56,7 @@ class nsAppCoresManager : public nsIScriptObjectOwner, public nsIDOMAppCoresMana private: void *mScriptObject; - nsVoidArray mList; + static nsVoidArray mList; };