diff options
Diffstat (limited to 'src/gpu/batches/GrDrawPathBatch.cpp')
-rw-r--r-- | src/gpu/batches/GrDrawPathBatch.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gpu/batches/GrDrawPathBatch.cpp b/src/gpu/batches/GrDrawPathBatch.cpp index b0f7d5e89c..ffe012f74b 100644 --- a/src/gpu/batches/GrDrawPathBatch.cpp +++ b/src/gpu/batches/GrDrawPathBatch.cpp @@ -57,7 +57,7 @@ GrDrawPathRangeBatch::GrDrawPathRangeBatch(const SkMatrix& viewMatrix, SkScalar , fTotalPathCount(instanceData->count()) , fScale(scale) { fDraws.addToHead()->set(instanceData, x, y); - fBounds = bounds; + this->setBounds(bounds, HasAABloat::kNo, IsZeroArea::kNo); } bool GrDrawPathRangeBatch::onCombineIfPossible(GrBatch* t, const GrCaps& caps) { @@ -112,7 +112,7 @@ bool GrDrawPathRangeBatch::onCombineIfPossible(GrBatch* t, const GrCaps& caps) { draw->fY = head->fY; that->fDraws.popHead(); } - this->joinBounds(that->fBounds); + this->joinBounds(*that); return true; } |