nsBindingManager::SetContentListFor(nsIContent* aContent, nsISupportsArray* aList) { if (!mContentListTable) { if (!aList) return NS_OK; mContentListTable = new nsSupportsHashtable;
nsBindingManager::SetContentListFor(nsIContent* aContent, nsVoidArray* aList) { nsIDOMNodeList* contentList = nsnull; if (aList) { contentList = new nsAnonymousContentList(aList); if (!contentList) return NS_ERROR_OUT_OF_MEMORY;
nsBindingManager::SetContentListFor(nsIContent* aContent, nsISupportsArray* aList){   if (!mContentListTable) {    if (!aList)       return NS_OK;    mContentListTable = new nsSupportsHashtable;  }  nsISupportsKey key(aContent);  if (aList) {    nsAnonymousContentList* contentList = new nsAnonymousContentList(aList);    mContentListTable->Put(&key, (nsIDOMNodeList*)contentList);  }  else    mContentListTable->Remove(&key);  return NS_OK;}