| Index: src/core/SkRecordDraw.cpp
|
| diff --git a/src/core/SkRecordDraw.cpp b/src/core/SkRecordDraw.cpp
|
| index b66c721aee2346129e01a7b53ec504ede6543949..9b08426670fc4bfc2410fb1cb1aa1cba091e3916 100644
|
| --- a/src/core/SkRecordDraw.cpp
|
| +++ b/src/core/SkRecordDraw.cpp
|
| @@ -387,12 +387,8 @@
|
| Bounds bounds(const DrawPaint&) const { return fCurrentClipBounds; }
|
| Bounds bounds(const NoOp&) const { return Bounds::MakeEmpty(); } // NoOps don't draw.
|
|
|
| - Bounds bounds(const DrawSprite& op) const { // Ignores the matrix, but respects the clip.
|
| - SkRect rect = Bounds::MakeXYWH(op.left, op.top, op.bitmap.width(), op.bitmap.height());
|
| - if (!rect.intersect(fCurrentClipBounds)) {
|
| - return Bounds::MakeEmpty();
|
| - }
|
| - return rect;
|
| + Bounds bounds(const DrawSprite& op) const { // Ignores the matrix.
|
| + return Bounds::MakeXYWH(op.left, op.top, op.bitmap.width(), op.bitmap.height());
|
| }
|
|
|
| Bounds bounds(const DrawRect& op) const { return this->adjustAndMap(op.rect, &op.paint); }
|
|
|