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,