X-Git-Url: https://git.webkit.org/?p=WebKit-https.git;a=blobdiff_plain;f=WebCore%2Fplatform%2Fgraphics%2Fskia%2FPathSkia.cpp;h=2700da8895bbebd9bf989c092527a191c89bec10;hp=ca993224dddc70d7fe65428ae245a4398fdd457c;hb=393bb498ec2a7ec4e917db144b38e62952ecc1ef;hpb=50538f1e060a112e7ec1ce88c42bc88dea1c2bfb;ds=sidebyside diff --git a/WebCore/platform/graphics/skia/PathSkia.cpp b/WebCore/platform/graphics/skia/PathSkia.cpp index ca993224dddc..2700da8895bb 100644 --- a/WebCore/platform/graphics/skia/PathSkia.cpp +++ b/WebCore/platform/graphics/skia/PathSkia.cpp @@ -274,7 +274,7 @@ static FloatRect boundingBoxForCurrentStroke(const GraphicsContext* context) SkPaint paint; context->platformContext()->setupPaintForStroking(&paint, 0, 0); SkPath boundingPath; - paint.getFillPath(context->platformContext()->currentPath(), &boundingPath); + paint.getFillPath(context->platformContext()->currentPathInLocalCoordinates(), &boundingPath); SkRect r; boundingPath.computeBounds(&r, SkPath::kExact_BoundsType); return r;