diff options
author | 2016-04-04 10:02:58 -0700 | |
---|---|---|
committer | 2016-04-04 10:02:58 -0700 | |
commit | efdfd51b68a300d5c6e28743fe0344ca05d1cec9 (patch) | |
tree | 3cd04d31a56219559e89f6eded6f7a894eb700ba /include/core | |
parent | 175cf0e51b9fbb075588c4d29e7e4257cea6f4ad (diff) |
switch maskfilters to sk_sp
BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1852113003
Review URL: https://codereview.chromium.org/1852113003
Diffstat (limited to 'include/core')
-rw-r--r-- | include/core/SkPaint.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/core/SkPaint.h b/include/core/SkPaint.h index 1a80ce33b0..57122550b3 100644 --- a/include/core/SkPaint.h +++ b/include/core/SkPaint.h @@ -41,7 +41,6 @@ class SkTypeface; The SkPaint class holds the style and color information about how to draw geometries, text and bitmaps. */ - class SK_API SkPaint { public: SkPaint(); @@ -589,7 +588,9 @@ public: the paint @return maskfilter */ +#ifdef SK_SUPPORT_LEGACY_MASKFILTER_PTR SkMaskFilter* setMaskFilter(SkMaskFilter* maskfilter); +#endif void setMaskFilter(sk_sp<SkMaskFilter>); // These attributes are for text/fonts |