diff --git a/mozilla/string/obsolete/nsString2.cpp b/mozilla/string/obsolete/nsString2.cpp index 8252ad64adc..c9b90fab3fb 100644 --- a/mozilla/string/obsolete/nsString2.cpp +++ b/mozilla/string/obsolete/nsString2.cpp @@ -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. diff --git a/mozilla/xpcom/ds/nsString2.cpp b/mozilla/xpcom/ds/nsString2.cpp index 8252ad64adc..c9b90fab3fb 100644 --- a/mozilla/xpcom/ds/nsString2.cpp +++ b/mozilla/xpcom/ds/nsString2.cpp @@ -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. diff --git a/mozilla/xpcom/string/obsolete/nsString2.cpp b/mozilla/xpcom/string/obsolete/nsString2.cpp index 8252ad64adc..c9b90fab3fb 100644 --- a/mozilla/xpcom/string/obsolete/nsString2.cpp +++ b/mozilla/xpcom/string/obsolete/nsString2.cpp @@ -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.