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.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/core/SkPicture.h b/include/core/SkPicture.h
index 3525695d02..44e4f862cc 100644
--- a/include/core/SkPicture.h
+++ b/include/core/SkPicture.h
@@ -142,11 +142,14 @@ public:
*/
void serialize(SkWStream*, SkSerializationHelpers::EncodeBitmap encoder = NULL) 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
is drawing. Has no effect if the picture is not drawing.
+ @deprecated preserving for legacy purposes
*/
void abortPlayback();
+#endif
protected:
// V2 : adds SkPixelRef's generation ID.