needed to make the implementation of |EqualsIgnoreCase(nsIAtom*, ...)| available.
git-svn-id: svn://10.0.0.236/trunk@66203 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -1918,10 +1918,6 @@ PRBool nsString::EqualsIgnoreCase(const char* aString,PRInt32 aLength) const {
|
||||
}
|
||||
|
||||
#ifndef NEW_STRING_APIS
|
||||
PRBool nsString::EqualsIgnoreCase(/*FIX: const */nsIAtom *aAtom) const {
|
||||
return Equals(aAtom,PR_TRUE);
|
||||
}
|
||||
|
||||
PRBool nsString::EqualsIgnoreCase(const PRUnichar* s1, const PRUnichar* s2) const {
|
||||
return Equals(s1,s2,PR_TRUE);
|
||||
}
|
||||
@@ -1999,6 +1995,10 @@ PRBool nsString::EqualsAtom(/*FIX: const */nsIAtom* aAtom,PRBool aIgnoreCase) co
|
||||
return result;
|
||||
}
|
||||
|
||||
PRBool nsString::EqualsIgnoreCase(/*FIX: const */nsIAtom *aAtom) const {
|
||||
return EqualsAtom(aAtom,PR_TRUE);
|
||||
}
|
||||
|
||||
#ifndef NEW_STRING_APIS
|
||||
/**
|
||||
* Compare this to given string; note that we compare full strings here.
|
||||
|
||||
Reference in New Issue
Block a user