| Index: src/gpu/batches/GrNinePatch.cpp
|
| diff --git a/src/gpu/batches/GrNinePatch.cpp b/src/gpu/batches/GrNinePatch.cpp
|
| index 1c90f83dbcd6d1ccd1d78393c267fca815b4c56b..62af20b2cfaddce0de84cca2c8348139a5b87574 100644
|
| --- a/src/gpu/batches/GrNinePatch.cpp
|
| +++ b/src/gpu/batches/GrNinePatch.cpp
|
| @@ -44,7 +44,7 @@ public:
|
| fImageHeight = imageHeight;
|
|
|
| // setup bounds
|
| - patch.fViewMatrix.mapRect(&fBounds, patch.fDst);
|
| + this->setTransformedBounds(patch.fDst, viewMatrix, HasAABloat::kNo, IsZeroArea::kNo);
|
| }
|
|
|
| const char* name() const override { return "NonAANinePatchBatch"; }
|
| @@ -152,7 +152,7 @@ private:
|
| }
|
|
|
| fPatches.push_back_n(that->fPatches.count(), that->fPatches.begin());
|
| - this->joinBounds(that->bounds());
|
| + this->joinBounds(*that);
|
| return true;
|
| }
|
|
|
|
|