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:
Родитель
39a2ecfa89
Коммит
d442237a68
|
@ -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-
|
||||
|
|
Загрузка…
Ссылка в новой задаче