зеркало из https://github.com/mozilla/pjs.git
Switching to use Component Registry
This commit is contained in:
Родитель
a51d7035cd
Коммит
99fde3c654
|
@ -251,7 +251,7 @@ nsAppShellService::EnumerateComponents( void (nsAppShellService::*function)( con
|
|||
&&
|
||||
( failed = "Open" )
|
||||
&&
|
||||
NS_SUCCEEDED( ( rv = registry->Open() ) )
|
||||
NS_SUCCEEDED( ( rv = registry->OpenWellKnownRegistry(nsIRegistry::ApplicationComponentRegistry) ) )
|
||||
&&
|
||||
( failed = "GetSubtree" )
|
||||
&&
|
||||
|
|
|
@ -287,7 +287,7 @@ NSRegisterSelf( nsISupports* aServiceMgr, const char* path ) { \
|
|||
nsIRegistry::GetIID(), \
|
||||
(nsISupports**)®istry ); \
|
||||
if ( NS_SUCCEEDED( rv ) ) { \
|
||||
registry->Open(); \
|
||||
registry->OpenWellKnownRegistry(nsIRegistry::ApplicationComponentRegistry); \
|
||||
char buffer[256]; \
|
||||
char *cid = className::GetCID().ToString(); \
|
||||
PR_snprintf( buffer, \
|
||||
|
|
|
@ -549,7 +549,7 @@ NSRegisterSelf(nsISupports* aServMgr, const char *path)
|
|||
|
||||
if ( NS_SUCCEEDED( rv ) )
|
||||
{
|
||||
registry->Open();
|
||||
registry->OpenWellKnownRegistry(nsIRegistry::ApplicationComponentRegistry);
|
||||
char buffer[256];
|
||||
char *cid = nsSoftwareUpdate::GetCID().ToString();
|
||||
PR_snprintf( buffer,
|
||||
|
|
Загрузка…
Ссылка в новой задаче