nsIXBLBinding* oldBinding = NS_STATIC_CAST(nsIXBLBinding*, mBindingTable->Put(&key, aBinding)); NS_IF_RELEASE(oldBinding);
mBindingTable->Put (&key, aBinding);
nsBindingManager::SetBinding(nsIContent* aContent, nsIXBLBinding* aBinding ){  if (!mBindingTable)    mBindingTable = new nsSupportsHashtable;  nsISupportsKey key(aContent);  if (aBinding) {    nsIXBLBinding* oldBinding = NS_STATIC_CAST(nsIXBLBinding*, mBindingTable->Put(&key, aBinding));    NS_IF_RELEASE(oldBinding);  }  else    mBindingTable->Remove(&key);  return NS_OK;}