aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/core/SkMallocPixelRef.h
diff options
context:
space:
mode:
authorGravatar Matt Sarett <msarett@google.com>2017-04-27 16:52:29 -0400
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2017-04-27 21:19:32 +0000
commit2cbb6662e329981840f90ef4edd62f70f69e6030 (patch)
tree63e5d20cba696369a6ca15495fafd6afac14a866 /include/core/SkMallocPixelRef.h
parent0122af08f6af0dee490e1a4f35b552377d0d4753 (diff)
Only store width and height on SkPixelRef
Bug: skia:6535 Change-Id: Id91e8d1e82f593be7d4b23ca5abde752f2666a77 Reviewed-on: https://skia-review.googlesource.com/14105 Commit-Queue: Matt Sarett <msarett@google.com> Reviewed-by: Mike Reed <reed@google.com>
Diffstat (limited to 'include/core/SkMallocPixelRef.h')
-rw-r--r--include/core/SkMallocPixelRef.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/core/SkMallocPixelRef.h b/include/core/SkMallocPixelRef.h
index 45ab6547f4..e6d9727952 100644
--- a/include/core/SkMallocPixelRef.h
+++ b/include/core/SkMallocPixelRef.h
@@ -78,8 +78,6 @@ public:
protected:
~SkMallocPixelRef() override;
- size_t getAllocatedSizeInBytes() const override;
-
private:
// Uses alloc to implement NewAllocate or NewZeroed.
static sk_sp<SkPixelRef> MakeUsing(void*(*alloc)(size_t),