| Index: include/effects/SkLumaColorFilter.h
|
| diff --git a/include/effects/SkLumaColorFilter.h b/include/effects/SkLumaColorFilter.h
|
| index 8dd519af4a77fe5ea142e9d8a15c4bfbc4c4a2e5..3a68607b1977dee04471ef958c3a71a5153c1c1c 100644
|
| --- a/include/effects/SkLumaColorFilter.h
|
| +++ b/include/effects/SkLumaColorFilter.h
|
| @@ -23,7 +23,11 @@
|
| */
|
| class SK_API SkLumaColorFilter : public SkColorFilter {
|
| public:
|
| - static SkColorFilter* Create();
|
| + static sk_sp<SkColorFilter> Make();
|
| +
|
| +#ifdef SK_SUPPORT_LEGACY_COLORFILTER_PTR
|
| + static SkColorFilter* Create() { return Make().release(); }
|
| +#endif
|
|
|
| void filterSpan(const SkPMColor src[], int count, SkPMColor[]) const override;
|
|
|
|
|