diff --git a/mozilla/layout/base/nsCSSRendering.cpp b/mozilla/layout/base/nsCSSRendering.cpp index dbd4579a5d9..4d28aa8488f 100644 --- a/mozilla/layout/base/nsCSSRendering.cpp +++ b/mozilla/layout/base/nsCSSRendering.cpp @@ -2366,8 +2366,8 @@ nsPoint thePath[MAXPATHSIZE]; PRInt16 np; nsMargin border; nscoord twipsPerPixel,qtwips; -float p2t,x,y; -nsTransform2D *theTransform; +float p2t; + aBorderStyle.CalcBorderFor(aForFrame, border); if ((0 == border.left) && (0 == border.right) && diff --git a/mozilla/layout/html/style/src/nsCSSRendering.cpp b/mozilla/layout/html/style/src/nsCSSRendering.cpp index dbd4579a5d9..4d28aa8488f 100644 --- a/mozilla/layout/html/style/src/nsCSSRendering.cpp +++ b/mozilla/layout/html/style/src/nsCSSRendering.cpp @@ -2366,8 +2366,8 @@ nsPoint thePath[MAXPATHSIZE]; PRInt16 np; nsMargin border; nscoord twipsPerPixel,qtwips; -float p2t,x,y; -nsTransform2D *theTransform; +float p2t; + aBorderStyle.CalcBorderFor(aForFrame, border); if ((0 == border.left) && (0 == border.right) &&