Index: third_party/WebKit/WebCore/platform/graphics/skia/PathSkia.cpp |
=================================================================== |
--- third_party/WebKit/WebCore/platform/graphics/skia/PathSkia.cpp (revision 7838) |
+++ third_party/WebKit/WebCore/platform/graphics/skia/PathSkia.cpp (working copy) |
@@ -274,7 +274,9 @@ |
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; |