Bug 450495 - Bustage fix

This commit is contained in:
Robert Longson 2008-08-17 15:35:58 +01:00
parent dc0f8376b5
commit 0cf414cc75

View File

@ -192,10 +192,8 @@ NS_NewSVGElement(nsIContent** aResult, nsINodeInfo *aNodeInfo)
return NS_NewSVGSVGElement(aResult, aNodeInfo); return NS_NewSVGSVGElement(aResult, aNodeInfo);
if (name == nsGkAtoms::g) if (name == nsGkAtoms::g)
return NS_NewSVGGElement(aResult, aNodeInfo); return NS_NewSVGGElement(aResult, aNodeInfo);
#ifdef MOZ_SVG_FOREIGNOBJECT
if (name == nsGkAtoms::foreignObject) if (name == nsGkAtoms::foreignObject)
return NS_NewSVGForeignObjectElement(aResult, aNodeInfo); return NS_NewSVGForeignObjectElement(aResult, aNodeInfo);
#endif
if (name == nsGkAtoms::path) if (name == nsGkAtoms::path)
return NS_NewSVGPathElement(aResult, aNodeInfo); return NS_NewSVGPathElement(aResult, aNodeInfo);
if (name == nsGkAtoms::text) if (name == nsGkAtoms::text)