Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(902)

Unified Diff: include/core/SkPaint.h

Issue 1852113003: switch maskfilters to sk_sp (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « gyp/skia_for_android_framework_defines.gypi ('k') | include/effects/SkBlurDrawLooper.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/core/SkPaint.h
diff --git a/include/core/SkPaint.h b/include/core/SkPaint.h
index 1a80ce33b05b92b64df167cf7b6cd663f4bd8f93..57122550b3032df6afd74e1a82fb298a633ea6b7 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
« no previous file with comments | « gyp/skia_for_android_framework_defines.gypi ('k') | include/effects/SkBlurDrawLooper.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698