Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(7)

Unified Diff: include/core/SkPicture.h

Issue 820903002: remove dead SK_LEGACY_ENCODE_BITMAP flag (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 6 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | src/core/SkPicture.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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.
« no previous file with comments | « no previous file | src/core/SkPicture.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698