Index: include/core/SkPicture.h |
diff --git a/include/core/SkPicture.h b/include/core/SkPicture.h |
index a908ab577f82939dacce56d441b3e8ec9c4881fc..3544b655082c65a11e8efdde9dcb2c1392dc18b8 100644 |
--- a/include/core/SkPicture.h |
+++ b/include/core/SkPicture.h |
@@ -132,6 +132,7 @@ public: |
*/ |
void clone(SkPicture* pictures, int count) const; |
+#ifdef SK_SUPPORT_LEGACY_RECORDING_FLAG |
scroggo
2014/06/05 17:58:16
Android never uses kUsePathBoundsForClip_Recording
|
// TODO: kUsePathBoundsForClip_RecordingFlag no longer belongs in |
// SkPicture. It should be moved to SkPictureRecorder (or just made |
// the default behavior). |
@@ -146,6 +147,7 @@ public: |
*/ |
kUsePathBoundsForClip_RecordingFlag = 0x01 |
}; |
+#endif |
/** Replays the drawing commands on the specified canvas. This internally |
calls endRecording() if that has not already been called. |