Index: src/core/SkRecordDraw.cpp |
diff --git a/src/core/SkRecordDraw.cpp b/src/core/SkRecordDraw.cpp |
index 7985e2ba056bcf27f449e436b20d44edf24017bf..0117adeefaec04a2d8f85a6a8f04dbc743c46495 100644 |
--- a/src/core/SkRecordDraw.cpp |
+++ b/src/core/SkRecordDraw.cpp |
@@ -321,7 +321,7 @@ private: |
} |
Bounds bounds(const DrawPicture& op) const { |
- SkRect dst = SkRect::MakeWH(op.picture->width(), op.picture->height()); |
+ SkRect dst = op.picture->cullRect(); |
if (op.matrix) { |
op.matrix->mapRect(&dst); |
} |