turned on the XPConnectFactory since it is now building on all platforms...

git-svn-id: svn://10.0.0.236/trunk@24657 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
rpotts%netscape.com 1999-03-22 06:27:36 +00:00
parent f0a9cb75d1
commit a12f77eb72
2 changed files with 2 additions and 4 deletions

View File

@ -96,11 +96,11 @@ NSGetFactory(nsISupports* serviceMgr,
else if (aClass.Equals(kCmdLineServiceCID)) {
rv = NS_NewCmdLineServiceFactory(aFactory);
}
#if 0
else if (aClass.Equals(kXPConnectFactoryCID)) {
rv = NS_NewXPConnectFactoryFactory(aFactory);
}
#if 0
else if (aClass.Equals(kProtocolHelperCID)) {
rv = NS_NewDefaultProtocolHelperFactory(aFactory);
}

View File

@ -136,7 +136,6 @@ nsAppShellService::Initialize(void)
rv = eventQService->CreateThreadEventQueue();
}
#if 0 // XXX: Remove this when mac and unix build the AppShellNameset...
// Register the nsAppShellNameSet with the global nameset registry...
nsIScriptNameSetRegistry *registry;
rv = nsServiceManager::GetService(kCScriptNameSetRegistryCID,
@ -149,8 +148,7 @@ nsAppShellService::Initialize(void)
nsAppShellNameSet* nameSet;
nameSet = new nsAppShellNameSet();
registry->AddExternalNameSet(nameSet);
/* FIX - do we need to release this service? When we do, it get deleted,and our name is lost. */
#endif
/* XXX: do we need to release this service? When we do, it get deleted,and our name is lost. */
// Create the toplevel window list...
rv = NS_NewISupportsArray(&mWindowList);