Index: include/core/SkPaint.h |
diff --git a/include/core/SkPaint.h b/include/core/SkPaint.h |
index 39ee1e0de1d9b98a1b7b7c005ebd8bb44dc5522d..8266eaaddcf3ee86022ba136d8e2d9d3f09e2d67 100644 |
--- a/include/core/SkPaint.h |
+++ b/include/core/SkPaint.h |
@@ -561,8 +561,10 @@ public: |
paint |
@return effect |
*/ |
- SkPathEffect* setPathEffect(SkPathEffect* effect); |
void setPathEffect(sk_sp<SkPathEffect>); |
+#ifdef SK_SUPPORT_LEGACY_PATHEFFECT_PTR |
+ SkPathEffect* setPathEffect(SkPathEffect* effect); |
+#endif |
/** Get the paint's maskfilter object. |
<p /> |