aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/batches/GrPLSPathRenderer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gpu/batches/GrPLSPathRenderer.cpp')
-rw-r--r--src/gpu/batches/GrPLSPathRenderer.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gpu/batches/GrPLSPathRenderer.cpp b/src/gpu/batches/GrPLSPathRenderer.cpp
index 6ec5a3af98..ad9bde1cfb 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"; }