aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/core/SkMallocPixelRef.h
diff options
context:
space:
mode:
authorGravatar Matt Sarett <msarett@google.com>2017-05-01 10:22:31 -0400
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2017-05-01 15:01:05 +0000
commitf758311c7362d9232b98b6519ec0af1f71ad02f8 (patch)
treef22ceecc807e265f8f09ef4932afb8757af3e00e /include/core/SkMallocPixelRef.h
parent38a56016b15b989764e855a1d1259aabd67bec72 (diff)
Only store width and height on SkPixelRef (part 2)
Relanding https://skia-review.googlesource.com/c/14105/ in pieces to try to diagnose problems with the Chrome roll. Bug: skia:6535 Change-Id: Iada034fc41ef315f7f00984d8de9d9cc2f361ad2 Reviewed-on: https://skia-review.googlesource.com/14657 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),