| Index: src/gpu/batches/GrNonAAFillRectPerspectiveBatch.cpp
|
| diff --git a/src/gpu/batches/GrNonAAFillRectPerspectiveBatch.cpp b/src/gpu/batches/GrNonAAFillRectPerspectiveBatch.cpp
|
| index 3cff209840707bad9857f37f1b565664b6532339..aa5a4203cf6a6108dbf6787f6c199e23e5574815 100644
|
| --- a/src/gpu/batches/GrNonAAFillRectPerspectiveBatch.cpp
|
| +++ b/src/gpu/batches/GrNonAAFillRectPerspectiveBatch.cpp
|
| @@ -111,7 +111,7 @@ public:
|
| if (fHasLocalRect) {
|
| info.fLocalRect = *localRect;
|
| }
|
| - viewMatrix.mapRect(&fBounds, rect);
|
| + this->setTransformedBounds(rect, viewMatrix, HasAABloat::kNo, IsZeroArea::kNo);
|
| }
|
|
|
| const char* name() const override { return "NonAAFillRectPerspectiveBatch"; }
|
| @@ -211,7 +211,7 @@ private:
|
| }
|
|
|
| fRects.push_back_n(that->fRects.count(), that->fRects.begin());
|
| - this->joinBounds(that->bounds());
|
| + this->joinBounds(*that);
|
| return true;
|
| }
|
|
|
|
|