Index: src/gpu/batches/GrCopySurfaceBatch.h |
diff --git a/src/gpu/batches/GrCopySurfaceBatch.h b/src/gpu/batches/GrCopySurfaceBatch.h |
index e0da431587e65f8f491e4e70c0190b957e1b774f..05b30b24b0e1b7314e11ac21919a58c4246cf033 100644 |
--- a/src/gpu/batches/GrCopySurfaceBatch.h |
+++ b/src/gpu/batches/GrCopySurfaceBatch.h |
@@ -56,8 +56,10 @@ private: |
, fSrc(src) |
, fSrcRect(srcRect) |
, fDstPoint(dstPoint) { |
- fBounds = SkRect::MakeXYWH(SkIntToScalar(dstPoint.fX), SkIntToScalar(dstPoint.fY), |
- SkIntToScalar(srcRect.width()), SkIntToScalar(srcRect.height())); |
+ SkRect bounds = |
+ SkRect::MakeXYWH(SkIntToScalar(dstPoint.fX), SkIntToScalar(dstPoint.fY), |
+ SkIntToScalar(srcRect.width()), SkIntToScalar(srcRect.height())); |
+ this->setBounds(bounds, HasAABloat::kNo, IsZeroArea::kNo); |
} |
bool onCombineIfPossible(GrBatch* that, const GrCaps& caps) override { return false; } |