Index: src/core/SkPaintPriv.cpp |
diff --git a/src/core/SkPaintPriv.cpp b/src/core/SkPaintPriv.cpp |
index 3e484de1a8009f2cd3aace89c12c4df2fa896961..a8b52e998c7b789e3ad5fe426d71888e04321924 100644 |
--- a/src/core/SkPaintPriv.cpp |
+++ b/src/core/SkPaintPriv.cpp |
@@ -89,6 +89,9 @@ |
#ifdef SK_SUPPORT_LEGACY_SHADER_LOCALMATRIX |
|| paint.getShader() |
#endif |
+#ifdef SK_SUPPORT_LEGACY_LAYERRASTERIZER_API |
+ || paint.getRasterizer() |
+#endif |
|| paint.getImageFilter() |
; |
} |