Index: include/core/SkPicture.h |
diff --git a/include/core/SkPicture.h b/include/core/SkPicture.h |
index 837916e58d2ca0131bc3ff69394e066816131c22..4d7d7d63bcf38b1648b1e583b44a0a0a976753f8 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 |