| Index: src/gpu/batches/GrTessellatingPathRenderer.cpp
|
| diff --git a/src/gpu/batches/GrTessellatingPathRenderer.cpp b/src/gpu/batches/GrTessellatingPathRenderer.cpp
|
| index 992d7735f231f8a8fed8ee1145494f1d51d9a45b..b022e40330d45c01c50fa3a837a480faf7d643a9 100644
|
| --- a/src/gpu/batches/GrTessellatingPathRenderer.cpp
|
| +++ b/src/gpu/batches/GrTessellatingPathRenderer.cpp
|
| @@ -238,12 +238,8 @@ private:
|
| // Because the clip bounds are used to add a contour for inverse fills, they must also
|
| // include the path bounds.
|
| fClipBounds.join(pathBounds);
|
| - if (shape.inverseFilled()) {
|
| - fBounds = fClipBounds;
|
| - } else {
|
| - fBounds = pathBounds;
|
| - }
|
| - viewMatrix.mapRect(&fBounds);
|
| + const SkRect& srcBounds = shape.inverseFilled() ? fClipBounds : pathBounds;
|
| + this->setTransformedBounds(srcBounds, viewMatrix, HasAABloat::kNo, IsZeroArea::kNo);
|
| }
|
|
|
| GrColor fColor;
|
|
|