зеркало из https://github.com/mozilla/pjs.git
Back out patch for bug 397303 due to serious perf regressions; r/sr=roc
This commit is contained in:
Родитель
fc92d4e809
Коммит
549a305460
|
@ -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:
|
||||||
|
|
Загрузка…
Ссылка в новой задаче