Index: include/core/SkShader.h |
diff --git a/include/core/SkShader.h b/include/core/SkShader.h |
index e2ebda5f1018218806cd49f56d1c644e2c3101d2..0de53ad65240a839e7889a838cdca2c02561e561 100644 |
--- a/include/core/SkShader.h |
+++ b/include/core/SkShader.h |
@@ -404,7 +404,11 @@ public: |
* The caller is responsible for managing its reference-count for the xfer (if not null). |
*/ |
static sk_sp<SkShader> MakeComposeShader(sk_sp<SkShader> dst, sk_sp<SkShader> src, |
+ sk_sp<SkXfermode> xfer); |
+#ifdef SK_SUPPORT_LEGACY_XFERMODE_PTR |
+ static sk_sp<SkShader> MakeComposeShader(sk_sp<SkShader> dst, sk_sp<SkShader> src, |
SkXfermode* xfer); |
+#endif |
/** Call this to create a new shader that will draw with the specified bitmap. |
* |