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: