nsBindingManager::SetBinding(nsIContent* aContent, nsIXBLBinding* aBinding)
nsBindingManager::SetBinding(nsIContent* aContent, nsXBLBinding* aBinding)
nsBindingManager::SetBinding(nsIContent* aContent, nsIXBLBinding* aBinding){  if (!mBindingTable)    mBindingTable = new nsSupportsHashtable;  nsISupportsKey key(aContent);  nsCOMPtr<nsISupports> old = getter_AddRefs(mBindingTable->Get(&key));  if (old && aBinding)    NS_ERROR("Binding already installed!");  if (aBinding) {    mBindingTable->Put(&key, aBinding);  }  else {    mBindingTable->Remove(&key);    // The death of the bindings means the death of the JS wrapper, and the flushing    // of our explicit and anonymous insertion point lists.    SetWrappedJS(aContent, nsnull);    SetContentListFor(aContent, nsnull);    SetAnonymousNodesFor(aContent, nsnull);  }  return NS_OK;}