Remove the many forms of NS_SetupRegistry since the classes registered are all now part of proper components. r=dougt, jag sr=rpotts b=81527
git-svn-id: svn://10.0.0.236/trunk@110840 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -65,8 +65,6 @@ static PRBool sXPCOMInitializedFlag = PR_FALSE;
|
||||
static XPCOMCleanupHack sXPCOMCleanupHack;
|
||||
#endif
|
||||
|
||||
extern "C" void NS_SetupRegistry();
|
||||
|
||||
|
||||
nsresult NS_InitEmbedding(nsILocalFile *mozBinDirectory,
|
||||
nsIDirectoryServiceProvider *appFileLocProvider)
|
||||
@@ -108,9 +106,6 @@ nsresult NS_InitEmbedding(nsILocalFile *mozBinDirectory,
|
||||
// Register components
|
||||
if (!sRegistryInitializedFlag)
|
||||
{
|
||||
// XXX hack method
|
||||
NS_SetupRegistry();
|
||||
|
||||
rv = nsComponentManager::AutoRegister(nsIComponentManagerObsolete::NS_Startup,
|
||||
NULL /* default */);
|
||||
if (NS_FAILED(rv))
|
||||
|
||||
Reference in New Issue
Block a user