nsresult result = ((nsGfxAutoTextControlFrame*)(*aNewFrame))->InitTextControl();
nsresult result = ((nsGfxAutoTextControlFrame*)(*aNewFrame))->CreateEditor();
nsresult NS_NewGfxAutoTextControlFrame(nsIFrame** aNewFrame){	NS_PRECONDITION(aNewFrame, "null OUT ptr");	if (nsnull == aNewFrame)		return NS_ERROR_NULL_POINTER;	*aNewFrame = new nsGfxAutoTextControlFrame;	if (nsnull == aNewFrame)		return NS_ERROR_OUT_OF_MEMORY;	nsresult result = ((nsGfxAutoTextControlFrame*)(*aNewFrame))->InitTextControl();	if (NS_FAILED(result))	{ // can't properly initialized ender, probably it isn't installed		delete *aNewFrame;		result = NS_NewNativeTextControlFrame(aNewFrame);	}	return result;}