nsIDOMNode* resultingChild; mInner.RemoveChild(childToDelete, &resultingChild);
nsCOMPtr<nsIDOMNode> resultingChild; mInner.RemoveChild(childToDelete, getter_AddRefs(resultingChild));
nsHTMLTableElement::DeleteTFoot(){{  nsIDOMHTMLTableSectionElement *childToDelete;  nsresult rv = GetTFoot(&childToDelete);  if ((NS_SUCCEEDED(rv)) && (nsnull!=childToDelete))  {    nsIDOMNode* resultingChild;    mInner.RemoveChild(childToDelete, &resultingChild); // mInner does the notification  }  return NS_OK;}}