From ed458688e284508f17a0408a093d89a8b5966e32 Mon Sep 17 00:00:00 2001 From: reed Date: Mon, 14 Jul 2014 09:21:31 -0700 Subject: remove SK_SUPPORT_LEGACY_PIXELREF_UNFLATTENABLE code TBR= Author: reed@google.com Review URL: https://codereview.chromium.org/387313004 --- src/lazy/SkCachingPixelRef.h | 9 --------- 1 file changed, 9 deletions(-) (limited to 'src/lazy/SkCachingPixelRef.h') diff --git a/src/lazy/SkCachingPixelRef.h b/src/lazy/SkCachingPixelRef.h index 193fe45482..1e87874f74 100644 --- a/src/lazy/SkCachingPixelRef.h +++ b/src/lazy/SkCachingPixelRef.h @@ -49,15 +49,6 @@ protected: return fImageGenerator->refEncodedData(); } -#ifdef SK_SUPPORT_LEGACY_PIXELREF_UNFLATTENABLE - // No need to flatten this object. When flattening an SkBitmap, - // SkWriteBuffer will check the encoded data and write that - // instead. - // Future implementations of SkWriteBuffer will need to - // special case for onRefEncodedData as well. - SK_DECLARE_UNFLATTENABLE_OBJECT() -#endif - private: SkImageGenerator* const fImageGenerator; bool fErrorInDecoding; -- cgit v1.2.3