Index: src/gpu/batches/GrDrawPathBatch.h |
diff --git a/src/gpu/batches/GrDrawPathBatch.h b/src/gpu/batches/GrDrawPathBatch.h |
index 7e695d83df6c0232202024c39170d9f4e09e20e2..cfdbc02c3d6eec094b438497450cb250f19fe944 100644 |
--- a/src/gpu/batches/GrDrawPathBatch.h |
+++ b/src/gpu/batches/GrDrawPathBatch.h |
@@ -78,8 +78,7 @@ private: |
const GrPath* path) |
: INHERITED(ClassID(), viewMatrix, color, fill) |
, fPath(path) { |
- fBounds = path->getBounds(); |
- viewMatrix.mapRect(&fBounds); |
+ this->setTransformedBounds(path->getBounds(), viewMatrix, HasAABloat::kNo, IsZeroArea::kNo); |
} |
bool onCombineIfPossible(GrBatch* t, const GrCaps& caps) override { return false; } |