| Index: src/gpu/batches/GrAADistanceFieldPathRenderer.cpp
|
| diff --git a/src/gpu/batches/GrAADistanceFieldPathRenderer.cpp b/src/gpu/batches/GrAADistanceFieldPathRenderer.cpp
|
| index 6f42a494a3cefbeec17e75b0608aa66ea91d875d..ea802b70dd2f68bcd64a321588abc92d150c754f 100644
|
| --- a/src/gpu/batches/GrAADistanceFieldPathRenderer.cpp
|
| +++ b/src/gpu/batches/GrAADistanceFieldPathRenderer.cpp
|
| @@ -146,8 +146,7 @@ public:
|
| fGammaCorrect = gammaCorrect;
|
|
|
| // Compute bounds
|
| - fBounds = shape.bounds();
|
| - viewMatrix.mapRect(&fBounds);
|
| + this->setTransformedBounds(shape.bounds(), viewMatrix, HasAABloat::kYes, IsZeroArea::kNo);
|
| }
|
|
|
| const char* name() const override { return "AADistanceFieldPathBatch"; }
|
| @@ -484,7 +483,7 @@ private:
|
| }
|
|
|
| fGeoData.push_back_n(that->fGeoData.count(), that->fGeoData.begin());
|
| - this->joinBounds(that->bounds());
|
| + this->joinBounds(*that);
|
| return true;
|
| }
|
|
|
|
|