Reviewed by Eric Seidel.
https://bugs.webkit.org/show_bug.cgi?id=24028
Fix up Skia path changes.
* platform/graphics/skia/GraphicsContextSkia.cpp:
(WebCore::GraphicsContext::strokePath): Removed illegal indirection.
* platform/graphics/skia/PathSkia.cpp:
(WebCore::boundingBoxForCurrentStroke): Changed call name.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@41078
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
+2009-02-19 Dimitri Glazkov <dglazkov@chromium.org>
+
+ Reviewed by Eric Seidel.
+
+ https://bugs.webkit.org/show_bug.cgi?id=24028
+ Fix up Skia path changes.
+
+ * platform/graphics/skia/GraphicsContextSkia.cpp:
+ (WebCore::GraphicsContext::strokePath): Removed illegal indirection.
+ * platform/graphics/skia/PathSkia.cpp:
+ (WebCore::boundingBoxForCurrentStroke): Changed call name.
+
2009-02-19 Gustavo Noronha Silva <gns@gnome.org>
Reviewed by Alexey Proskuryakov.
if (paintingDisabled())
return;
- const SkPath& path = *platformContext()->currentPathInLocalCoordinates();
+ SkPath path = platformContext()->currentPathInLocalCoordinates();
if (!isPathSkiaSafe(getCTM(), path))
return;
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;