Index: include/effects/SkLayerDrawLooper.h |
diff --git a/include/effects/SkLayerDrawLooper.h b/include/effects/SkLayerDrawLooper.h |
index e1fae57cb860650e584c159a0359a416b808f303..c3ab24160770418bc45b537833f4ac1587144ae6 100644 |
--- a/include/effects/SkLayerDrawLooper.h |
+++ b/include/effects/SkLayerDrawLooper.h |
@@ -66,7 +66,9 @@ public: |
* kDst_Mode: to just keep the draw's color, ignoring the layer's |
*/ |
struct SK_API LayerInfo { |
+#ifdef SK_SUPPORT_LEGACY_LAYERDRAWLOOPER_PAINTFLAGS |
uint32_t fFlagsMask; // SkPaint::Flags |
+#endif |
BitFlags fPaintBits; |
SkXfermode::Mode fColorMode; |
SkVector fOffset; |