From bd2671513e4e27542558a99fbfcd7742e005e348 Mon Sep 17 00:00:00 2001 From: "putterman%netscape.com" Date: Sat, 27 Feb 1999 07:11:28 +0000 Subject: [PATCH] Compiles with RegisterComponent git-svn-id: svn://10.0.0.236/trunk@22325 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/mailnews/base/tests/test.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mozilla/mailnews/base/tests/test.cpp b/mozilla/mailnews/base/tests/test.cpp index a23597b7f59..80d97e8b3ea 100644 --- a/mozilla/mailnews/base/tests/test.cpp +++ b/mozilla/mailnews/base/tests/test.cpp @@ -17,7 +17,7 @@ static NS_DEFINE_CID(kMsgRFC822ParserCID, NS_MSGRFC822PARSER_CID); nsIMsgRFC822Parser *sample; // register our dll - nsRepository::RegisterFactory(kMsgRFC822ParserCID, "mailnews.dll", PR_FALSE, PR_FALSE); + nsRepository::RegisterComponent(kMsgRFC822ParserCID, NULL, NULL, "mailnews.dll", PR_FALSE, PR_FALSE); nsresult res = nsRepository::CreateInstance(kMsgRFC822ParserCID, NULL,