Index: include/core/SkPictureRecorder.h |
diff --git a/include/core/SkPictureRecorder.h b/include/core/SkPictureRecorder.h |
index 419c01bc881b0ba996b8923dfb46137e8b1a6002..cc30be19da7262e5e410a871e93cd57e62df367e 100644 |
--- a/include/core/SkPictureRecorder.h |
+++ b/include/core/SkPictureRecorder.h |
@@ -31,9 +31,9 @@ public: |
~SkPictureRecorder(); |
enum RecordFlags { |
- // This flag indicates that, if some BHH is being computed, saveLayer |
- // information should also be extracted at the same time. |
+#ifdef SK_SUPPORT_LEGACY_COMPUTESAVELAYER_FLAG |
kComputeSaveLayerInfo_RecordFlag = 1 << 0, |
+#endif |
// If you call drawPicture() or drawDrawable() on the recording canvas, this flag forces |
// that object to playback its contents immediately rather than reffing the object. |