Index: src/core/SkPaint.cpp |
diff --git a/src/core/SkPaint.cpp b/src/core/SkPaint.cpp |
index 2ced3f6bef1e50a32e48c2aa426f576bcd181c23..6a54b9a6c38afd4a328d57b6fcddae05eacb2830 100644 |
--- a/src/core/SkPaint.cpp |
+++ b/src/core/SkPaint.cpp |
@@ -374,7 +374,9 @@ SET_PTR(Typeface) |
SET_PTR(Rasterizer) |
#endif |
SET_PTR(ImageFilter) |
+#ifdef SK_SUPPORT_LEGACY_CREATESHADER_PTR |
SET_PTR(Shader) |
+#endif |
#ifdef SK_SUPPORT_LEGACY_COLORFILTER_PTR |
SET_PTR(ColorFilter) |
#endif |