return popupFrame->CreatePopup(srcContent, popupContent, aXPos, aYPos, aPopupType, anAnchorAlignment, aPopupAlignment);
return popupFrame->CreatePopup(srcContent, popupContent, aXPos, aYPos, nsAutoString(aPopupType), nsAutoString(anAnchorAlignment), nsAutoString(aPopupAlignment));
nsPopupSetBoxObject::CreatePopup(nsIDOMElement* aSrcContent,                                  nsIDOMElement* aPopupContent,                                  PRInt32 aXPos, PRInt32 aYPos,                                  const PRUnichar *aPopupType, const PRUnichar *anAnchorAlignment,                                  const PRUnichar *aPopupAlignment){  nsIFrame* frame = GetFrame();  if (!frame)    return NS_OK;  nsCOMPtr<nsIPopupSetFrame> popupFrame(do_QueryInterface(frame));  if (!popupFrame)    return NS_OK;  nsCOMPtr<nsIContent> popupContent(do_QueryInterface(aPopupContent));  if (!popupContent)    return NS_OK;  nsCOMPtr<nsIContent> srcContent(do_QueryInterface(aSrcContent));  if (!srcContent)    return NS_OK;  nsCOMPtr<nsIDOMDocument> doc;  aSrcContent->GetOwnerDocument(getter_AddRefs(doc));  if (!doc)    return NS_OK;  nsCOMPtr<nsIDocument> document(do_QueryInterface(doc));  nsCOMPtr<nsIPresShell> shell = getter_AddRefs(document->GetShellAt(0));  if (!shell)    return NS_OK;  return popupFrame->CreatePopup(srcContent, popupContent, aXPos, aYPos, aPopupType, anAnchorAlignment, aPopupAlignment);}