Back out patch for bug 397303 due to serious perf regressions; r/sr=roc

This commit is contained in:
vladimir@pobox.com 2008-04-19 22:31:30 -07:00
Родитель fc92d4e809
Коммит 549a305460
1 изменённых файлов: 1 добавлений и 2 удалений

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

@ -1053,8 +1053,7 @@ NumBorderPasses (PRUint8 *borderStyles,
case NS_STYLE_BORDER_STYLE_OUTSET: case NS_STYLE_BORDER_STYLE_OUTSET:
case NS_STYLE_BORDER_STYLE_GROOVE: case NS_STYLE_BORDER_STYLE_GROOVE:
case NS_STYLE_BORDER_STYLE_RIDGE: case NS_STYLE_BORDER_STYLE_RIDGE:
/* XXX See bug 397303 why this is 4 instead of 2; this could be optimized further */ numBorderPasses = 2;
numBorderPasses = 4;
break; break;
case NS_STYLE_BORDER_STYLE_SOLID: case NS_STYLE_BORDER_STYLE_SOLID: