nsHTMLAnchorElement::SetDocument(nsIDocument* aDocument, PRBool aDeep)
nsHTMLAnchorElement::SetDocument(nsIDocument* aDocument, PRBool aDeep, PRBool aCompileEventHandlers)
nsHTMLAnchorElement::SetDocument(nsIDocument* aDocument, PRBool aDeep){  // The document gets set to null before it is destroyed,  // so we unregister the the access key here (if it has one)  // before setting it to null  if (aDocument == nsnull) {    RegUnRegAccessKey(PR_FALSE);  }  nsresult res = mInner.SetDocument(aDocument, aDeep);  // Register the access key here (if it has one)   // if the document isn't null  if (aDocument != nsnull) {    RegUnRegAccessKey(PR_TRUE);  }  return res;}