nsHTMLLegendElement::SetDocument(nsIDocument* aDocument, PRBool aDeep)
nsHTMLLegendElement::SetDocument(nsIDocument* aDocument, PRBool aDeep, PRBool aCompileEventHandlers)
nsHTMLLegendElement::SetDocument(nsIDocument* aDocument, PRBool aDeep){  return mInner.SetDocumentForFormControls(aDocument, aDeep, this, mForm);}