Index: include/core/SkPaint.h |
diff --git a/include/core/SkPaint.h b/include/core/SkPaint.h |
index f5c3bc3d4b009a39a308f7d097476519b3a7f185..21d7109cbb446ea4b077bc56c71062d8142c34bd 100644 |
--- a/include/core/SkPaint.h |
+++ b/include/core/SkPaint.h |
@@ -515,7 +515,9 @@ public: |
@param filter May be NULL. The filter to be installed in the paint |
@return filter |
*/ |
+#ifdef SK_SUPPORT_LEGACY_COLORFILTER_PTR |
SkColorFilter* setColorFilter(SkColorFilter* filter); |
+#endif |
void setColorFilter(sk_sp<SkColorFilter>); |
/** Get the paint's xfermode object. |