ChildAt(i, *getter_AddRefs(node));
ChildAt(i, getter_AddRefs(node));
nsHTMLOptionElement::SetText(const nsAString& aText){  PRInt32 numNodes, i;  PRBool usedExistingTextNode = PR_FALSE;  // Do we need to create a text node?  nsresult rv = ChildCount(numNodes);  if (NS_FAILED(rv)) {    return rv;  }  for (i = 0; i < numNodes; i++) {    nsCOMPtr<nsIContent> node;    ChildAt(i, *getter_AddRefs(node));    nsCOMPtr<nsIDOMText> domText(do_QueryInterface(node));    if (domText) {      rv = domText->SetData(aText);      if (NS_SUCCEEDED(rv)) {        // If we used an existing node, the notification will not happen (the        // notification typically happens in AppendChildTo).        NotifyTextChanged();        usedExistingTextNode = PR_TRUE;      }      break;    }  }  if (!usedExistingTextNode) {    nsCOMPtr<nsITextContent> text;    rv = NS_NewTextNode(getter_AddRefs(text));    NS_ENSURE_SUCCESS(rv, rv);    rv = text->SetText(aText, PR_TRUE);    NS_ENSURE_SUCCESS(rv, rv);    rv = AppendChildTo(text, PR_TRUE, PR_FALSE);    NS_ENSURE_SUCCESS(rv, rv);    nsCOMPtr<nsIDocument> doc;    GetDocument(*getter_AddRefs(doc));    if (doc) {      rv = text->SetDocument(doc, PR_FALSE, PR_TRUE);    }  }  return rv;}