From bde6ee548345acd5aa98ed313d1064b7bfb29369 Mon Sep 17 00:00:00 2001 From: "ebina%netscape.com" Date: Sat, 27 Feb 1999 02:02:32 +0000 Subject: [PATCH] Change RegisterFactory to the new API. git-svn-id: svn://10.0.0.236/trunk@22281 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/xpfe/AppCores/src/nsEditorMode.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/mozilla/xpfe/AppCores/src/nsEditorMode.cpp b/mozilla/xpfe/AppCores/src/nsEditorMode.cpp index 6ad33867252..0bdc44ae5f2 100755 --- a/mozilla/xpfe/AppCores/src/nsEditorMode.cpp +++ b/mozilla/xpfe/AppCores/src/nsEditorMode.cpp @@ -65,15 +65,15 @@ nsresult NS_InitEditorMode(nsIDOMDocument *aDOMDocument, nsIPresShell* aPresShel if (PR_TRUE==needsInit) { needsInit=PR_FALSE; - result = nsRepository::RegisterFactory(kTextEditorCID, EDITOR_DLL, - PR_FALSE, PR_FALSE); + result = nsRepository::RegisterComponent(kTextEditorCID, NULL, NULL, + EDITOR_DLL, PR_FALSE, PR_FALSE); if (NS_ERROR_FACTORY_EXISTS!=result) { if (NS_FAILED(result)) return result; } - result = nsRepository::RegisterFactory(kEditorCID, EDITOR_DLL, - PR_FALSE, PR_FALSE); + result = nsRepository::RegisterComponent(kEditorCID, NULL, NULL, + EDITOR_DLL, PR_FALSE, PR_FALSE); if (NS_ERROR_FACTORY_EXISTS!=result) { if (NS_FAILED(result))