| Index: include/core/SkPaint.h
|
| diff --git a/include/core/SkPaint.h b/include/core/SkPaint.h
|
| index 8266eaaddcf3ee86022ba136d8e2d9d3f09e2d67..f5c3bc3d4b009a39a308f7d097476519b3a7f185 100644
|
| --- a/include/core/SkPaint.h
|
| +++ b/include/core/SkPaint.h
|
| @@ -627,7 +627,9 @@ public:
|
| the paint.
|
| @return rasterizer
|
| */
|
| +#ifdef SK_SUPPORT_LEGACY_MINOR_EFFECT_PTR
|
| SkRasterizer* setRasterizer(SkRasterizer* rasterizer);
|
| +#endif
|
| void setRasterizer(sk_sp<SkRasterizer>);
|
|
|
| SkImageFilter* getImageFilter() const { return fImageFilter.get(); }
|
| @@ -651,7 +653,9 @@ public:
|
| * @param looper May be NULL. The new looper to be installed in the paint.
|
| * @return looper
|
| */
|
| +#ifdef SK_SUPPORT_LEGACY_MINOR_EFFECT_PTR
|
| SkDrawLooper* setLooper(SkDrawLooper* looper);
|
| +#endif
|
| void setLooper(sk_sp<SkDrawLooper>);
|
|
|
| enum Align {
|
|
|