Adding a comment to remind ourselves that at one time these were const.
git-svn-id: svn://10.0.0.236/trunk@44219 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -1639,7 +1639,7 @@ PRBool nsString::EqualsIgnoreCase(const char* aString,PRInt32 aLength) const {
|
||||
return Equals(aString,PR_TRUE,aLength);
|
||||
}
|
||||
|
||||
PRBool nsString::EqualsIgnoreCase(nsIAtom *aAtom) const {
|
||||
PRBool nsString::EqualsIgnoreCase(/*FIX: const */nsIAtom *aAtom) const {
|
||||
return Equals(aAtom,PR_TRUE);
|
||||
}
|
||||
|
||||
@@ -1715,7 +1715,7 @@ PRBool nsString::Equals(const PRUnichar* aString,PRBool aIgnoreCase,PRInt32 aCou
|
||||
* @param aLength -- length of given string.
|
||||
* @return TRUE if equal
|
||||
*/
|
||||
PRBool nsString::Equals(nsIAtom* aAtom,PRBool aIgnoreCase) const{
|
||||
PRBool nsString::Equals(/*FIX: const */nsIAtom* aAtom,PRBool aIgnoreCase) const{
|
||||
NS_ASSERTION(0!=aAtom,kNullPointerError);
|
||||
PRBool result=PR_FALSE;
|
||||
if(aAtom){
|
||||
|
||||
Reference in New Issue
Block a user