return NS_OK;
nsBindingManager::ContentRemoved(nsIDocument* aDocument,                                 nsIContent* aContainer,                                 nsIContent* aChild,                                 PRInt32 aIndexInContainer){  if (aIndexInContainer == -1 || !mContentListTable)    // It's anonymous.    return NS_OK;   nsCOMPtr<nsIContent> point;  GetNestedInsertionPoint(aContainer, aChild, getter_AddRefs(point));  if (point) {    nsISupportsKey key(point);    nsCOMPtr<nsIDOMNodeList> nodeList = getter_AddRefs(NS_STATIC_CAST(nsIDOMNodeList*, mContentListTable->Get(&key)));    if (nodeList) {      nsCOMPtr<nsIAnonymousContentList> contentList(do_QueryInterface(nodeList));      if (contentList) {        // Find a non-pseudo-insertion point and remove ourselves.        PRUint32 count;        contentList->GetInsertionPointCount(&count);        for (PRUint32 i =0; i < count; i++) {          nsCOMPtr<nsIXBLInsertionPoint> point;          contentList->GetInsertionPointAt(i, getter_AddRefs(point));          PRInt32 index;          point->GetInsertionIndex(&index);          if (index != -1) {            point->RemoveChild(aChild);          }        }      }    }  }   return NS_OK;}