Index: src/core/SkPicture.cpp |
diff --git a/src/core/SkPicture.cpp b/src/core/SkPicture.cpp |
index 4c97cb71b93e9d76ab455f766582e03b2120c6e1..7f4b33afac0f8e951f2b353da92a2d455212f472 100644 |
--- a/src/core/SkPicture.cpp |
+++ b/src/core/SkPicture.cpp |
@@ -530,10 +530,9 @@ uint32_t SkPicture::uniqueID() const { |
return fUniqueID; |
} |
-SkPicture::SkPicture(SkScalar width, SkScalar height, SkRecord* record, SkData* drawablePicts, |
+SkPicture::SkPicture(const SkRect& cullRect, SkRecord* record, SkData* drawablePicts, |
SkBBoxHierarchy* bbh) |
- : fCullWidth(width) |
- , fCullHeight(height) |
+ : fCullRect(cullRect) |
, fRecord(record) |
, fBBH(SkSafeRef(bbh)) |
, fDrawablePicts(SkSafeRef(drawablePicts)) |