changes to build the nsXPConnectFactory (and friends...)

This commit is contained in:
rpotts@netscape.com
1999-03-19 06:19:50 +00:00
parent 7fc22dce16
commit 01097f31d3
2 changed files with 10 additions and 0 deletions

View File

@@ -136,6 +136,7 @@ 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,6 +150,7 @@ nsAppShellService::Initialize(void)
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
// Create the toplevel window list...
rv = NS_NewISupportsArray(&mWindowList);