prep for fixing bug 176559 - use getService rather than createInstance so we stop creating element factories

sr=peterv/jst, r=bzbarsky


git-svn-id: svn://10.0.0.236/trunk@133318 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
alecf%netscape.com
2002-11-07 21:23:09 +00:00
parent 3db27f265c
commit b548b7bdf9
8 changed files with 8 additions and 8 deletions

View File

@@ -131,7 +131,7 @@ nsFileControlFrame::CreateAnonymousContent(nsIPresContext* aPresContext,
nimgr->GetNodeInfo(nsHTMLAtoms::input, nsnull, kNameSpaceID_None,
*getter_AddRefs(nodeInfo));
nsCOMPtr<nsIElementFactory> ef(do_CreateInstance(kHTMLElementFactoryCID,&rv));
nsCOMPtr<nsIElementFactory> ef(do_GetService(kHTMLElementFactoryCID,&rv));
NS_ENSURE_SUCCESS(rv, rv);
// Create the text content