nsDocumentFragment::GetOwnerDocument(nsIDOMDocument** aOwnerDocument) { NS_ENSURE_ARG_POINTER(aOwnerDocument);  if (!mOwnerDocument) { *aOwnerDocument = nsnull; return NS_OK; }  return CallQueryInterface(mOwnerDocument, aOwnerDocument); }
NS_IMETHOD    GetOwnerDocument(nsIDOMDocument** aOwnerDocument) { return nsGenericElement::GetOwnerDocument(aOwnerDocument); }
nsDocumentFragment::GetOwnerDocument(nsIDOMDocument** aOwnerDocument){  NS_ENSURE_ARG_POINTER(aOwnerDocument);  if (!mOwnerDocument) {    *aOwnerDocument = nsnull;    return NS_OK;  }  return CallQueryInterface(mOwnerDocument, aOwnerDocument);}