| Index: third_party/WebKit/WebCore/platform/graphics/skia/GraphicsContextSkia.cpp
|
| ===================================================================
|
| --- third_party/WebKit/WebCore/platform/graphics/skia/GraphicsContextSkia.cpp (revision 7838)
|
| +++ third_party/WebKit/WebCore/platform/graphics/skia/GraphicsContextSkia.cpp (working copy)
|
| @@ -406,7 +406,7 @@
|
| if (paintingDisabled())
|
| return;
|
|
|
| - const SkPath* oldPath = platformContext()->currentPath();
|
| + const SkPath* oldPath = platformContext()->currentPathInGlobalCoordinates();
|
| SkPath path(*oldPath);
|
| path.setFillType(clipRule == RULE_EVENODD ? SkPath::kEvenOdd_FillType : SkPath::kWinding_FillType);
|
| platformContext()->canvas()->clipPath(path);
|
| @@ -676,9 +676,9 @@
|
| if (paintingDisabled())
|
| return;
|
|
|
| - const SkPath& path = *platformContext()->currentPath();
|
| + SkPath path = platformContext()->currentPathInLocalCoordinates();
|
| if (!isPathSkiaSafe(getCTM(), path))
|
| - return;
|
| + return;
|
|
|
| const GraphicsContextState& state = m_common->state;
|
| ColorSpace colorSpace = state.fillColorSpace;
|
| @@ -1050,7 +1050,7 @@
|
| if (paintingDisabled())
|
| return;
|
|
|
| - const SkPath& path = *platformContext()->currentPath();
|
| + SkPath path = platformContext()->currentPathInLocalCoordinates();
|
| if (!isPathSkiaSafe(getCTM(), path))
|
| return;
|
|
|
|
|