Index: include/core/SkPaint.h |
diff --git a/include/core/SkPaint.h b/include/core/SkPaint.h |
index cb9f8102801b63f65c3e97d61d675325009e2f86..1a80ce33b05b92b64df167cf7b6cd663f4bd8f93 100644 |
--- a/include/core/SkPaint.h |
+++ b/include/core/SkPaint.h |
@@ -539,8 +539,10 @@ public: |
paint |
@return xfermode |
*/ |
- SkXfermode* setXfermode(SkXfermode* xfermode); |
void setXfermode(sk_sp<SkXfermode>); |
+#ifdef SK_SUPPORT_LEGACY_XFERMODE_PTR |
+ SkXfermode* setXfermode(SkXfermode* xfermode); |
+#endif |
/** Create an xfermode based on the specified Mode, and assign it into the |
paint, returning the mode that was set. If the Mode is SrcOver, then |