diff options
author | Mike Reed <reed@google.com> | 2017-12-23 20:54:53 -0500 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2017-12-24 13:40:41 +0000 |
commit | bfc11853a88cda6951ae97399577fadadf2adcd5 (patch) | |
tree | b69901d8d0513b28074c4303edad3005eaa8f58a /src/core/SkBigPicture.h | |
parent | 3c678ffe2ca1099e37d3dbbf2984362551fba75e (diff) |
remove approxbytes api from SkPicture
Bug: skia:
Change-Id: I292bc9ab52fe8df3ce97a2ad4b06085b0332b19d
Reviewed-on: https://skia-review.googlesource.com/89440
Reviewed-by: Mike Reed <reed@google.com>
Commit-Queue: Mike Reed <reed@google.com>
Diffstat (limited to 'src/core/SkBigPicture.h')
-rw-r--r-- | src/core/SkBigPicture.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/core/SkBigPicture.h b/src/core/SkBigPicture.h index cbe492cc22..6edf4004c1 100644 --- a/src/core/SkBigPicture.h +++ b/src/core/SkBigPicture.h @@ -36,15 +36,13 @@ public: SkBigPicture(const SkRect& cull, SkRecord*, // We take ownership of the caller's ref. SnapshotArray*, // We take exclusive ownership. - SkBBoxHierarchy*, // We take ownership of the caller's ref. - size_t approxBytesUsedBySubPictures); + SkBBoxHierarchy*); // We take ownership of the caller's ref. // SkPicture overrides void playback(SkCanvas*, AbortCallback*) const override; SkRect cullRect() const override; int approximateOpCount() const override; - size_t approximateBytesUsed() const override; const SkBigPicture* asSkBigPicture() const override { return this; } // Used by GrLayerHoister @@ -61,7 +59,6 @@ private: SkPicture const* const* drawablePicts() const; const SkRect fCullRect; - const size_t fApproxBytesUsedBySubPictures; sk_sp<const SkRecord> fRecord; std::unique_ptr<const SnapshotArray> fDrawablePicts; sk_sp<const SkBBoxHierarchy> fBBH; |