nsCOMPtr<nsIAtom> tag = dont_AddRef(NS_NewAtom(aValue));
nsCOMPtr<nsIAtom> tag = do_GetAtom(aValue);
nsXULContentBuilder::CompileSimpleAttributeCondition(PRInt32 aNameSpaceID,                                                     nsIAtom* aAttribute,                                                     const nsAString& aValue,                                                     InnerNode* aParentNode,                                                     TestNode** aResult){    if ((aNameSpaceID == kNameSpaceID_None) && (aAttribute == nsXULAtoms::parent)) {        // The "parent" test.        //        // XXXwaterson this is wrong: we can't add this below the        // the previous node, because it'll cause an unconstrained        // search if we ever came "up" through this path. Need a        // JoinNode in here somewhere.        nsCOMPtr<nsIAtom> tag = dont_AddRef(NS_NewAtom(aValue));        *aResult = new nsContentTagTestNode(aParentNode, mConflictSet, mContentVar, tag);        if (*aResult)            return PR_TRUE;    }    return PR_FALSE;}