| Index: include/core/SkPicture.h
|
| diff --git a/include/core/SkPicture.h b/include/core/SkPicture.h
|
| index f38df4f17d45543fefd6578483e9cdf5c268fe08..368eac539a4bdecd906c14b6abf93acbea004a09 100644
|
| --- a/include/core/SkPicture.h
|
| +++ b/include/core/SkPicture.h
|
| @@ -36,8 +36,6 @@ namespace SkRecords {
|
| class CollectLayers;
|
| };
|
|
|
| -//#define SK_LEGACY_ENCODE_BITMAP
|
| -
|
| /** \class SkPicture
|
|
|
| The SkPicture class records the drawing commands made to a canvas, to
|
| @@ -139,17 +137,6 @@ public:
|
| */
|
| typedef SkData* (*EncodeBitmap)(size_t* pixelRefOffset, const SkBitmap& bm);
|
|
|
| -#ifdef SK_LEGACY_ENCODE_BITMAP
|
| - /**
|
| - * Serialize to a stream. If non NULL, encoder will be used to encode
|
| - * any bitmaps in the picture.
|
| - * encoder will never be called with a NULL pixelRefOffset.
|
| - * DEPRECATED - use serialize(SkWStream*, SkPixelSerializer* serializer)
|
| - * instead.
|
| - */
|
| - void serialize(SkWStream* wStream, EncodeBitmap encoder) const;
|
| -#endif
|
| -
|
| /**
|
| * Serialize to a stream. If non NULL, serializer will be used to serialize
|
| * any bitmaps in the picture.
|
|
|