nsBindingManager::GetBinding(nsIContent* aContent, nsIXBLBinding** aResult) { if (mBindingTable) { nsISupportsKey key(aContent); *aResult = NS_STATIC_CAST(nsIXBLBinding*, mBindingTable->Get(&key)); } else { *aResult = nsnull; }
nsBindingManager::GetBinding(nsIContent* aContent) { if (mBindingTable.IsInitialized()) return mBindingTable.GetWeak(aContent);
nsBindingManager::GetBinding(nsIContent* aContent, nsIXBLBinding** aResult) {   if (mBindingTable) {    nsISupportsKey key(aContent);    *aResult = NS_STATIC_CAST(nsIXBLBinding*, mBindingTable->Get(&key));  }  else {    *aResult = nsnull;  }  return NS_OK;}