Testing performance impact of backout of what's left of the patch from

bug 115289.  See bug 123947 for details. a=mcafee


git-svn-id: svn://10.0.0.236/trunk@114152 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
bzbarsky%mit.edu
2002-02-09 20:46:05 +00:00
parent a8d03c78ee
commit ffecf7f104
47 changed files with 222 additions and 237 deletions

View File

@@ -1203,7 +1203,7 @@ NS_IMETHODIMP CViewSourceHTML::HandleToken(CToken* aToken,nsIParser* aParser) {
{
nsAutoString theStr;
theStr.Assign(aToken->GetStringValue());
if(!theStr.Equals(NS_LITERAL_STRING("XI"), nsCaseInsensitiveStringComparator())) {
if(Compare(theStr, NS_LITERAL_STRING("XI"), nsCaseInsensitiveStringComparator()) != 0) {
PRUnichar theChar=theStr.CharAt(0);
if((nsCRT::IsAsciiDigit(theChar)) || ('X'==theChar) || ('x'==theChar)){
theStr.Assign(NS_LITERAL_STRING("#") + theStr);