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

Unified Diff: include/core/SkPicture.h

Issue 15538005: Patch to prevent chromium breakage until the DEPS. (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: Created 7 years, 7 months 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 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
« 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