nsCOMPtr<nsITextControlFrame> textControlFrame(do_QueryInterface(formControlFrame));
if (formControlFrame) { nsITextControlFrame* textControlFrame = nsnull; CallQueryInterface(formControlFrame, &textControlFrame);
nsHTMLTextAreaElement::SetSelectionEnd(PRInt32 aSelectionEnd){  nsCOMPtr<nsIFormControlFrame> formControlFrame = getter_AddRefs(GetFormControlFrame(PR_TRUE));  nsCOMPtr<nsITextControlFrame>    textControlFrame(do_QueryInterface(formControlFrame));  if (textControlFrame)    textControlFrame->SetSelectionEnd(aSelectionEnd);  return NS_OK;}