nsCOMPtr<nsIDOMNode> row;
nsresult rv; PRUint32 refIndex; if (aValue == -1) { rv = rows->GetLength(&refIndex); NS_ENSURE_SUCCESS(rv, rv);
nsHTMLTableSectionElement::DeleteRow(PRInt32 aValue){  nsCOMPtr<nsIDOMHTMLCollection> rows;  GetRows(getter_AddRefs(rows));  nsCOMPtr<nsIDOMNode> row;  rows->Item(aValue, getter_AddRefs(row));  if (row) {    nsCOMPtr<nsIDOMNode> retChild;    RemoveChild(row, getter_AddRefs(retChild));  }  return NS_OK;}