Index: src/core/SkPicture.cpp |
diff --git a/src/core/SkPicture.cpp b/src/core/SkPicture.cpp |
index a8ddfe6656d5b18446aca9e59f3ae604ad18bf54..2a33c4db607dac4353319bab67d680bab435e5e4 100644 |
--- a/src/core/SkPicture.cpp |
+++ b/src/core/SkPicture.cpp |
@@ -480,12 +480,13 @@ bool SkPicture::willPlayBackBitmaps() const { return fAnalysis.fWillPlaybackBitm |
int SkPicture::approximateOpCount() const { return fRecord->count(); } |
SkPicture::SkPicture(const SkRect& cullRect, SkRecord* record, SnapshotArray* drawablePicts, |
- SkBBoxHierarchy* bbh) |
+ SkBBoxHierarchy* bbh, size_t approxBytesUsedBySubPictures) |
: fUniqueID(0) |
, fCullRect(cullRect) |
, fRecord(SkRef(record)) |
, fBBH(SkSafeRef(bbh)) |
, fDrawablePicts(drawablePicts) // take ownership |
+ , fApproxBytesUsedBySubPictures(approxBytesUsedBySubPictures) |
, fAnalysis(*fRecord) |
{} |