Fixed performance problem caused by unused nsAutoString in SelectorMatches.

Patch by bratell@lysator.liu.se, r=glazman@netscape.com sr=attinasi@netscape.com b=74830
This commit is contained in:
attinasi%netscape.com 2001-04-05 23:14:00 +00:00
Родитель 39a2ecfa89
Коммит d442237a68
2 изменённых файлов: 0 добавлений и 2 удалений

Просмотреть файл

@ -2939,7 +2939,6 @@ static PRBool SelectorMatches(SelectorMatchesData &data,
PRBool localTrue = PRBool(0 == aNegationIndex);
PRBool checkType = (0 == aNegationIndex) || (1 < aNegationIndex);
PRBool result = localFalse;
nsAutoString buffer;
// Bail out early if we can. Do not perform the test if aNegationIndex==1
// because it then contains only negated IDs, classes, attributes and pseudo-

Просмотреть файл

@ -2939,7 +2939,6 @@ static PRBool SelectorMatches(SelectorMatchesData &data,
PRBool localTrue = PRBool(0 == aNegationIndex);
PRBool checkType = (0 == aNegationIndex) || (1 < aNegationIndex);
PRBool result = localFalse;
nsAutoString buffer;
// Bail out early if we can. Do not perform the test if aNegationIndex==1
// because it then contains only negated IDs, classes, attributes and pseudo-