Testing performance impact of backout of part of patch from bug 115289.

See bug 123947 for details.


git-svn-id: svn://10.0.0.236/trunk@114146 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
bzbarsky%mit.edu
2002-02-09 16:10:51 +00:00
parent d0ee3a21c9
commit 2ab4074373
17 changed files with 73 additions and 68 deletions

View File

@@ -1447,7 +1447,7 @@ HTMLAttributesImpl::HasClass(nsIAtom* aClass, PRBool aCaseSensitive) const
const PRUnichar* class2Buf;
classList->mAtom->GetUnicode(&class2Buf);
nsDependentString class2(class2Buf);
if (class1.Equals(class2, nsCaseInsensitiveStringComparator()))
if (Compare(class1, class2, nsCaseInsensitiveStringComparator()) == 0)
return NS_OK;
classList = classList->mNext;
} while (classList);