lastNameSpace->CreateChildNameSpace(prefix, urlSpec, newNameSpace);
lastNameSpace->CreateChildNameSpace(prefix, urlSpec, &newNameSpace);
CreateNameSpace(nsISupports* aRule, void* aNameSpacePtr){  nsICSSRule* rule = (nsICSSRule*)aRule;  PRInt32 type = nsICSSRule::UNKNOWN_RULE;  rule->GetType(type);  if (nsICSSRule::NAMESPACE_RULE == type) {    nsICSSNameSpaceRule*  nameSpaceRule = (nsICSSNameSpaceRule*)rule;    nsINameSpace** nameSpacePtr = (nsINameSpace**)aNameSpacePtr;    nsINameSpace* lastNameSpace = *nameSpacePtr;    nsINameSpace* newNameSpace;    nsIAtom*      prefix = nsnull;    nsAutoString  urlSpec;    nameSpaceRule->GetPrefix(prefix);    nameSpaceRule->GetURLSpec(urlSpec);    lastNameSpace->CreateChildNameSpace(prefix, urlSpec, newNameSpace);    NS_IF_RELEASE(prefix);    if (newNameSpace) {      NS_RELEASE(lastNameSpace);      (*nameSpacePtr) = newNameSpace; // takes ref    }    return PR_TRUE;  }  // stop if not namespace, import or charset because namespace can't follow anything else  return (((nsICSSRule::CHARSET_RULE == type) ||            (nsICSSRule::IMPORT_RULE)) ? PR_TRUE : PR_FALSE); }