| Index: src/gpu/gl/GrGpuGL.cpp
|
| diff --git a/src/gpu/gl/GrGpuGL.cpp b/src/gpu/gl/GrGpuGL.cpp
|
| index a670eae613cfdc8c0bd25f19e4738337eb9b73f0..c4d1c27c004f5484f418fbff13a0d2bd5e562678 100644
|
| --- a/src/gpu/gl/GrGpuGL.cpp
|
| +++ b/src/gpu/gl/GrGpuGL.cpp
|
| @@ -1725,7 +1725,7 @@ void GrGpuGL::onGpuDrawPath(const GrPath* path, SkPath::FillType fill) {
|
| vmi.mapRect(&bounds);
|
| // theoretically could set bloat = 0, instead leave it because of matrix inversion
|
| // precision.
|
| - SkScalar bloat = drawState->getViewMatrix().getMaxStretch() * SK_ScalarHalf;
|
| + SkScalar bloat = drawState->getViewMatrix().getMaxScale() * SK_ScalarHalf;
|
| bounds.outset(bloat, bloat);
|
| } else {
|
| avmr.setIdentity(drawState);
|
| @@ -1818,7 +1818,7 @@ void GrGpuGL::onGpuDrawPaths(int pathCount, const GrPath** paths,
|
| vmi.mapRect(&bounds);
|
| // theoretically could set bloat = 0, instead leave it because of matrix inversion
|
| // precision.
|
| - SkScalar bloat = drawState->getViewMatrix().getMaxStretch() * SK_ScalarHalf;
|
| + SkScalar bloat = drawState->getViewMatrix().getMaxScale() * SK_ScalarHalf;
|
| bounds.outset(bloat, bloat);
|
| } else {
|
| avmr.setIdentity(drawState);
|
|
|