Index: src/gpu/batches/GrPLSPathRenderer.cpp |
diff --git a/src/gpu/batches/GrPLSPathRenderer.cpp b/src/gpu/batches/GrPLSPathRenderer.cpp |
index 6ec5a3af98bcb88dc33a59d7883bdf6d88e1df58..ad9bde1cfbb998e3c44b5215b2773308d016dc27 100644 |
--- a/src/gpu/batches/GrPLSPathRenderer.cpp |
+++ b/src/gpu/batches/GrPLSPathRenderer.cpp |
@@ -793,8 +793,8 @@ public: |
, fPath(path) |
, fViewMatrix(viewMatrix) { |
// compute bounds |
- fBounds = path.getBounds(); |
- fViewMatrix.mapRect(&fBounds); |
+ this->setTransformedBounds(path.getBounds(), fViewMatrix, HasAABloat::kYes, |
+ IsZeroArea::kNo); |
} |
const char* name() const override { return "PLSBatch"; } |