| Index: src/gpu/batches/GrNonAAFillRectBatch.cpp
|
| diff --git a/src/gpu/batches/GrNonAAFillRectBatch.cpp b/src/gpu/batches/GrNonAAFillRectBatch.cpp
|
| index aaeabdaeb7f9f10513147df44695f5ba923931e0..e2fff2adad9d94161a72999b8ee15aca556df131 100644
|
| --- a/src/gpu/batches/GrNonAAFillRectBatch.cpp
|
| +++ b/src/gpu/batches/GrNonAAFillRectBatch.cpp
|
| @@ -91,7 +91,7 @@ public:
|
| } else {
|
| info.fLocalQuad.set(rect);
|
| }
|
| - viewMatrix.mapRect(&fBounds, fRects[0].fRect);
|
| + this->setTransformedBounds(fRects[0].fRect, viewMatrix, HasAABloat::kNo, IsZeroArea::kNo);
|
| }
|
|
|
| const char* name() const override { return "NonAAFillRectBatch"; }
|
| @@ -170,7 +170,7 @@ private:
|
| }
|
|
|
| fRects.push_back_n(that->fRects.count(), that->fRects.begin());
|
| - this->joinBounds(that->bounds());
|
| + this->joinBounds(*that);
|
| return true;
|
| }
|
|
|
|
|