Commit 395510bf authored by ebina%netscape.com's avatar ebina%netscape.com
Browse files

Change old RegisterFactory call to use the new API.

parent d5ca0e3c
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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);
}