Index: include/core/SkPicture.h |
diff --git a/include/core/SkPicture.h b/include/core/SkPicture.h |
index a53617fbc0af911989d438f8a4d23a568720ad53..1f1378c4157856bb94fb26dd432abf81ccd2a3af 100644 |
--- a/include/core/SkPicture.h |
+++ b/include/core/SkPicture.h |
@@ -110,6 +110,7 @@ public: |
virtual ~SkPicture(); |
+#ifdef SK_SUPPORT_LEGACY_PICTURE_CLONE |
/** |
* Creates a thread-safe clone of the picture that is ready for playback. |
*/ |
@@ -121,6 +122,7 @@ public: |
* SkPictures. |
*/ |
void clone(SkPicture* pictures, int count) const; |
+#endif |
/** Replays the drawing commands on the specified canvas. |
@param canvas the canvas receiving the drawing commands. |