if (mContentListTable) { nsISupportsKey key(aContent); *aResult = NS_STATIC_CAST(nsIDOMNodeList*, mContentListTable->Get(&key));
if (mContentListTable.ops) { *aResult = NS_STATIC_CAST(nsIDOMNodeList*, LookupObject(mContentListTable, aContent)); NS_IF_ADDREF(*aResult);
nsBindingManager::GetContentListFor(nsIContent* aContent, nsIDOMNodeList** aResult){   // Locate the primary binding and get its node list of anonymous children.  *aResult = nsnull;    if (mContentListTable) {    nsISupportsKey key(aContent);    *aResult = NS_STATIC_CAST(nsIDOMNodeList*, mContentListTable->Get(&key));  }    if (!*aResult) {    nsCOMPtr<nsIDOMNode> node(do_QueryInterface(aContent));    return node->GetChildNodes(aResult);  }  return NS_OK;}