return mOwnerDocument->QueryInterface(NS_GET_IID(nsIDOMDocument), (void **)aOwnerDocument);
return CallQueryInterface(mOwnerDocument, aOwnerDocument);
nsDocumentFragment::GetOwnerDocument(nsIDOMDocument** aOwnerDocument){  NS_ENSURE_ARG_POINTER(aOwnerDocument);  if (!mOwnerDocument) {    *aOwnerDocument = nsnull;    return NS_OK;  }  return mOwnerDocument->QueryInterface(NS_GET_IID(nsIDOMDocument),                                        (void **)aOwnerDocument);}