*aNewFrame = nsnull;
NS_NewSVGGlyphFrame(nsIPresShell* aPresShell, nsIContent* aContent, nsIFrame* parentFrame,                    nsIFrame** aNewFrame){  *aNewFrame = nsnull;#ifdef DEBUG  NS_ASSERTION(parentFrame, "null parent");  nsISVGTextContainerFrame *text_container;  parentFrame->QueryInterface(NS_GET_IID(nsISVGTextContainerFrame), (void**)&text_container);  NS_ASSERTION(text_container, "trying to construct an SVGGlyphFrame for an invalid container");    nsCOMPtr<nsITextContent> tc = do_QueryInterface(aContent);  NS_ASSERTION(tc, "trying to construct an SVGGlyphFrame for wrong content element");#endif    nsSVGGlyphFrame* it = new (aPresShell) nsSVGGlyphFrame;  if (nsnull == it)    return NS_ERROR_OUT_OF_MEMORY;  *aNewFrame = it;  return NS_OK;}