Index: include/core/SkMallocPixelRef.h |
diff --git a/include/core/SkMallocPixelRef.h b/include/core/SkMallocPixelRef.h |
index 5415e01900dbe46ebe2468513acf343d3c5f7cb0..63ed19ae3ceab8eb45cc6819f87dd7a3cad91819 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; |