nsresult rv = nsGenericHTMLContainerElement::SetDocument(aDocument, aDeep, aCompileEventHandlers);
nsresult rv = nsGenericHTMLContainerElement::SetDocument(aDocument, aDeep, aCompileEventHandlers); NS_ENSURE_SUCCESS(rv, rv);
nsHTMLIFrameElement::SetDocument(nsIDocument *aDocument, PRBool aDeep,                                 PRBool aCompileEventHandlers){  nsresult rv =    nsGenericHTMLContainerElement::SetDocument(aDocument, aDeep,                                               aCompileEventHandlers);  if (NS_SUCCEEDED(rv) && mParent && mDocument) {    // SetParent() was already called on this element, load the    // frame...    rv = LoadSrc();  }  return rv;}