if (!aPresContext) return;     nsIFormControlFrame* formControlFrame = GetFormControlFrame(PR_FALSE);  if (formControlFrame) { formControlFrame->SetFocus(PR_FALSE, PR_FALSE); }  nsCOMPtr<nsIEventStateManager> esm; aPresContext->GetEventStateManager(getter_AddRefs(esm));  if (esm && mDocument) { esm->SetContentState(nsnull, NS_EVENT_STATE_FOCUS); }
Blur(); return NS_OK;
nsHTMLSelectElement::RemoveFocus(nsIPresContext* aPresContext){  if (!aPresContext)    return;  // If we are disabled, we probably shouldn't have focus in the  // first place, so allow it to be removed.  nsIFormControlFrame* formControlFrame = GetFormControlFrame(PR_FALSE);  if (formControlFrame) {    formControlFrame->SetFocus(PR_FALSE, PR_FALSE);  }  nsCOMPtr<nsIEventStateManager> esm;  aPresContext->GetEventStateManager(getter_AddRefs(esm));  if (esm && mDocument) {    esm->SetContentState(nsnull, NS_EVENT_STATE_FOCUS);  }}