binding->ChildAt(i, getter_AddRefs(child));
mBinding->ChildAt(i, *getter_AddRefs(child));
nsXBLBinding::GetImmediateChild(nsIAtom* aTag, nsIContent** aResult) {  nsCOMPtr<nsIContent> binding = mPrototypeBinding->GetBindingElement();  *aResult = nsnull;  PRInt32 childCount;  binding->ChildCount(childCount);  for (PRInt32 i = 0; i < childCount; i++) {    nsCOMPtr<nsIContent> child;    binding->ChildAt(i, getter_AddRefs(child));    nsCOMPtr<nsIAtom> tag;    child->GetTag(getter_AddRefs(tag));    if (aTag == tag) {      *aResult = child;      NS_ADDREF(*aResult);      return;    }  }  return;}