| Index: Source/core/paint/BoxPainter.cpp
|
| diff --git a/Source/core/paint/BoxPainter.cpp b/Source/core/paint/BoxPainter.cpp
|
| index 906b7cc9e06e6e209cff58a69926ba7e288df71c..9a433c0fea9f8c8c121f0b58e0e59dcd28bde9f1 100644
|
| --- a/Source/core/paint/BoxPainter.cpp
|
| +++ b/Source/core/paint/BoxPainter.cpp
|
| @@ -2110,7 +2110,7 @@ void BoxPainter::clipBorderSidePolygon(GraphicsContext* graphicsContext, const R
|
| // If the border matches both of its adjacent sides, don't anti-alias the clip, and
|
| // if neither side matches, anti-alias the clip.
|
| if (firstEdgeMatches == secondEdgeMatches) {
|
| - graphicsContext->clipConvexPolygon(4, quad, !firstEdgeMatches);
|
| + graphicsContext->clipPolygon(4, quad, !firstEdgeMatches);
|
| return;
|
| }
|
|
|
| @@ -2142,14 +2142,14 @@ void BoxPainter::clipBorderSidePolygon(GraphicsContext* graphicsContext, const R
|
| firstQuad[1] = quad[1];
|
| firstQuad[2] = FloatPoint(quad[3].x() + r2 * ax, quad[3].y() + r2 * ay);
|
| firstQuad[3] = quad[3];
|
| - graphicsContext->clipConvexPolygon(4, firstQuad, !firstEdgeMatches);
|
| + graphicsContext->clipPolygon(4, firstQuad, !firstEdgeMatches);
|
|
|
| FloatPoint secondQuad[4];
|
| secondQuad[0] = quad[0];
|
| secondQuad[1] = FloatPoint(quad[0].x() - r1 * cx, quad[0].y() - r1 * cy);
|
| secondQuad[2] = quad[2];
|
| secondQuad[3] = quad[3];
|
| - graphicsContext->clipConvexPolygon(4, secondQuad, !secondEdgeMatches);
|
| + graphicsContext->clipPolygon(4, secondQuad, !secondEdgeMatches);
|
| }
|
|
|
| } // namespace blink
|
|
|