From 549a305460248b6c675b42ddc84a7c2ba2730865 Mon Sep 17 00:00:00 2001 From: "vladimir@pobox.com" Date: Sat, 19 Apr 2008 22:31:30 -0700 Subject: [PATCH] Back out patch for bug 397303 due to serious perf regressions; r/sr=roc --- layout/base/nsCSSRendering.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/layout/base/nsCSSRendering.cpp b/layout/base/nsCSSRendering.cpp index 0ec4f9f2c49..2bc68d3b0e8 100644 --- a/layout/base/nsCSSRendering.cpp +++ b/layout/base/nsCSSRendering.cpp @@ -1053,8 +1053,7 @@ NumBorderPasses (PRUint8 *borderStyles, case NS_STYLE_BORDER_STYLE_OUTSET: case NS_STYLE_BORDER_STYLE_GROOVE: case NS_STYLE_BORDER_STYLE_RIDGE: - /* XXX See bug 397303 why this is 4 instead of 2; this could be optimized further */ - numBorderPasses = 4; + numBorderPasses = 2; break; case NS_STYLE_BORDER_STYLE_SOLID: