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:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user