Index: src/gpu/GrContext.cpp |
diff --git a/src/gpu/GrContext.cpp b/src/gpu/GrContext.cpp |
index 04e3f8fa9ff16aee0b03f47eaf8b1393a3512ae9..be27e9c7c49b303d0bd51a08d56e9f83cc93fb2e 100755 |
--- a/src/gpu/GrContext.cpp |
+++ b/src/gpu/GrContext.cpp |
@@ -1451,6 +1451,7 @@ void GrContext::internalDrawPath(GrDrawTarget* target, |
if (NULL == pr) { |
if (!GrPathRenderer::IsStrokeHairlineOrEquivalent(*stroke, viewMatrix, NULL)) { |
// It didn't work the 1st time, so try again with the stroked path |
+ stroke.writable()->setResScale(SkScalarAbs(viewMatrix.getMaxScale())); |
if (stroke->applyToPath(tmpPath.init(), *pathPtr)) { |
pathPtr = tmpPath.get(); |
stroke.writable()->setFillStyle(); |