result = parent->GetParent(*getter_AddRefs(temp));
parent->GetParent(getter_AddRefs(temp));
nsSelection::GetParentTable(nsIContent *aCell, nsIContent **aTable){  if (!aCell || !aTable)    return NS_ERROR_NULL_POINTER;  nsCOMPtr<nsIContent> parent;  nsresult result = aCell->GetParent(*getter_AddRefs(parent));  while (NS_SUCCEEDED(result) && parent)  {      nsIAtom *tag;    parent->GetTag(tag);    if (tag == nsHTMLAtoms::table)    {      *aTable = parent;      NS_ADDREF(*aTable);      return NS_OK;    }    nsCOMPtr<nsIContent> temp;    result = parent->GetParent(*getter_AddRefs(temp));    parent = temp;  }  return result;}