aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/core/SkPicture.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/core/SkPicture.h')
-rw-r--r--include/core/SkPicture.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/include/core/SkPicture.h b/include/core/SkPicture.h
index f4acdc8322..156d098ae6 100644
--- a/include/core/SkPicture.h
+++ b/include/core/SkPicture.h
@@ -189,6 +189,21 @@ public:
*/
void serialize(SkWStream*, EncodeBitmap encoder = NULL) const;
+ /**
+ * @Deprecated
+ * Old version of EncodeBitmap, here to prevent chrome tree from going
+ * red. Will be removed once chrome is switched to the new version.
+ */
+ typedef bool (*OldEncodeBitmap)(SkWStream*, const SkBitmap&);
+
+ /**
+ * @Deprecated
+ * Old version of serialize, taking the old version of EncodeBitmap,
+ * to keep the chrome build green. Will be removed once chrome is
+ * switched to the new version.
+ */
+ void serialize(SkWStream*, OldEncodeBitmap) const;
+
#ifdef SK_BUILD_FOR_ANDROID
/** Signals that the caller is prematurely done replaying the drawing
commands. This can be called from a canvas virtual while the picture