tmpContent->GetParent(*getter_AddRefs(selectContent));
tmpContent->GetParent(getter_AddRefs(selectContent));
ShouldIgnoreSelectChild(nsIContent* aContainer){  // Ignore options and optgroups inside a select (size > 1)  nsCOMPtr<nsIAtom> containerTag;  aContainer->GetTag(*getter_AddRefs(containerTag));  if (containerTag == nsHTMLAtoms::optgroup ||      containerTag == nsHTMLAtoms::select) {    nsCOMPtr<nsIContent> selectContent = aContainer;    nsCOMPtr<nsIContent> tmpContent;        while (selectContent) {      if (containerTag == nsHTMLAtoms::select)        break;            tmpContent = selectContent;      tmpContent->GetParent(*getter_AddRefs(selectContent));      if (selectContent)        selectContent->GetTag(*getter_AddRefs(containerTag));    }        nsCOMPtr<nsISelectElement> selectElement = do_QueryInterface(selectContent);    if (selectElement) {      nsAutoString selSize;      aContainer->GetAttr(kNameSpaceID_None, nsHTMLAtoms::size, selSize);      if (!selSize.IsEmpty()) {        PRInt32 err;        return (selSize.ToInteger(&err) > 1);      }    }  }  return PR_FALSE;}