AppendElement(newItem);
NS_IMETHODIMP nsSVGPathSegList::AppendItem(nsIDOMSVGPathSeg *newItem, nsIDOMSVGPathSeg **_retval){  // XXX The SVG specs state that 'if newItem is already in a list, it  // is removed from its previous list before it is inserted into this  // list'. We don't do that. Should we?    *_retval = newItem;  NS_ADDREF(*_retval);  AppendElement(newItem);  return NS_OK;}