mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-03-04 07:40:42 +00:00
Change old RegisterFactory call to use the new API.
This commit is contained in:
parent
d5ca0e3c3b
commit
395510bf09
@ -607,7 +607,7 @@ extern "C" NS_EXPORT PRBool NSCanUnload()
|
||||
|
||||
extern "C" NS_EXPORT nsresult NSRegisterSelf(const char *path)
|
||||
{
|
||||
return nsRepository::RegisterFactory(kPrefCID, path,
|
||||
return nsRepository::RegisterComponent(kPrefCID, NULL, NULL, path,
|
||||
PR_TRUE, PR_TRUE);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user