Change old RegisterFactory call to use the new API.

This commit is contained in:
ebina%netscape.com 1999-02-25 18:37:30 +00:00
parent d5ca0e3c3b
commit 395510bf09

View File

@ -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);
}