nsCOMPtr<nsIAtom> tag = dont_AddRef(NS_NewAtom(aTag)); if (! tag) return NS_ERROR_OUT_OF_MEMORY;  return nsXULElement::Create(kNameSpaceID_XUL, tag, aResult);
return nsXULElement::Create(aNodeInfo, aResult);
XULElementFactoryImpl::CreateInstanceByTag(const nsString& aTag, nsIContent** aResult){  nsCOMPtr<nsIAtom> tag = dont_AddRef(NS_NewAtom(aTag));  if (! tag)    return NS_ERROR_OUT_OF_MEMORY;  return nsXULElement::Create(kNameSpaceID_XUL, tag, aResult); }