aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/core/SkMallocPixelRef.h
diff options
context:
space:
mode:
authorGravatar reed <reed@google.com>2014-07-14 09:21:31 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2014-07-14 09:21:31 -0700
commited458688e284508f17a0408a093d89a8b5966e32 (patch)
tree3d95fe4d3dab0b095678fdb6adcfe9a8612cfc6d /include/core/SkMallocPixelRef.h
parente322482f4d82bc704e40b8c89843f2ea5b6ddc04 (diff)
remove SK_SUPPORT_LEGACY_PIXELREF_UNFLATTENABLE code
TBR= Author: reed@google.com Review URL: https://codereview.chromium.org/387313004
Diffstat (limited to 'include/core/SkMallocPixelRef.h')
-rw-r--r--include/core/SkMallocPixelRef.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/include/core/SkMallocPixelRef.h b/include/core/SkMallocPixelRef.h
index 5415e01900..63ed19ae3c 100644
--- a/include/core/SkMallocPixelRef.h
+++ b/include/core/SkMallocPixelRef.h
@@ -82,17 +82,10 @@ public:
SkColorTable*) SK_OVERRIDE;
};
-#ifdef SK_SUPPORT_LEGACY_PIXELREF_UNFLATTENABLE
- SK_DECLARE_PUBLIC_FLATTENABLE_DESERIALIZATION_PROCS(SkMallocPixelRef)
-#endif
-
protected:
// The ownPixels version of this constructor is deprecated.
SkMallocPixelRef(const SkImageInfo&, void* addr, size_t rb, SkColorTable*,
bool ownPixels);
-#ifdef SK_SUPPORT_LEGACY_PIXELREF_UNFLATTENABLE
- SkMallocPixelRef(SkReadBuffer& buffer);
-#endif
virtual ~SkMallocPixelRef();
virtual bool onNewLockPixels(LockRec*) SK_OVERRIDE;