nsCOMPtr<nsIDOMNSHTMLInputElement> htmlInputElement = do_QueryInterface(mCurrentNode); if (htmlInputElement) return htmlInputElement->GetControllers(aResult);
XULCommandDispatcherImpl::GetControllers(nsIControllers** aResult){  if (mCurrentNode) {    nsCOMPtr<nsIDOMXULElement> xulElement = do_QueryInterface(mCurrentNode);    if (xulElement)      return xulElement->GetControllers(aResult);    nsCOMPtr<nsIDOMNSHTMLTextAreaElement> htmlTextArea = do_QueryInterface(mCurrentNode);    if (htmlTextArea)      return htmlTextArea->GetControllers(aResult);    nsCOMPtr<nsIDOMWindow> domWindow = do_QueryInterface(mCurrentNode);    if (domWindow)      return domWindow->GetControllers(aResult);  }  *aResult = nsnull;  return NS_OK;}