NS_FORWARD_NSIDOMNODE_NO_CLONENODE(nsGenericElement::)
nsXULElement::GetLastChild(nsIDOMNode** aLastChild) { nsresult rv; PRInt32 count; rv = ChildCount(count); NS_ASSERTION(NS_SUCCEEDED(rv), "unable to get child count");  if (NS_SUCCEEDED(rv) && (count != 0)) { nsCOMPtr<nsIContent> child; rv = ChildAt(count - 1, *getter_AddRefs(child));  NS_ASSERTION(child != nsnull, "no child");  if (child) { rv = child->QueryInterface(NS_GET_IID(nsIDOMNode), (void**) aLastChild); NS_ASSERTION(NS_SUCCEEDED(rv), "not a DOM node"); return rv; } }  *aLastChild = nsnull; return NS_OK; }
    NS_FORWARD_NSIDOMNODE_NO_CLONENODE(nsGenericElement::)