if (*str == aString)
if (str->Equals(aString))
    PRBool ObservingAttribute(const nsString& aString)    {        if (ObservingEverything())            return PR_TRUE;        if (mAttributeList) {            PRInt32 count = mAttributeList->Count();            for (PRInt32 i = 0; i < count; i++) {                nsString* str = (nsString*)(mAttributeList->ElementAt(i));                if (*str == aString)                    return PR_TRUE;            }        }        return PR_FALSE;    }