Change old RegisterFactory call to use the new API.

git-svn-id: svn://10.0.0.236/trunk@21934 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
ebina%netscape.com
1999-02-25 18:37:30 +00:00
parent 8bf6a59a42
commit 989ce33bbf

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