aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/core
diff options
context:
space:
mode:
authorGravatar reed <reed@chromium.org>2014-12-20 15:23:55 -0800
committerGravatar Commit bot <commit-bot@chromium.org>2014-12-20 15:23:55 -0800
commit5e8b1688eeaa343848d255daee2b1fc26eb54f57 (patch)
treed02f7cb31f22e988acc9cb3df23d5759d1d14df7 /include/core
parentf53ff623fa912118774098be4dd1dbbd340dda37 (diff)
remove dead SK_LEGACY_ENCODE_BITMAP flag
BUG=skia: TBR= Review URL: https://codereview.chromium.org/820903002
Diffstat (limited to 'include/core')
-rw-r--r--include/core/SkPicture.h13
1 files changed, 0 insertions, 13 deletions
diff --git a/include/core/SkPicture.h b/include/core/SkPicture.h
index f38df4f17d..368eac539a 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.