Index: src/gpu/effects/GrRRectEffect.h |
diff --git a/src/gpu/effects/GrRRectEffect.h b/src/gpu/effects/GrRRectEffect.h |
index 63e08a442430de58737b51f370ef6ab6aba3c314..6ff2cc9735e27c7004117e67243fbda99a7004ef 100644 |
--- a/src/gpu/effects/GrRRectEffect.h |
+++ b/src/gpu/effects/GrRRectEffect.h |
@@ -10,6 +10,7 @@ |
#include "GrTypes.h" |
#include "GrTypesPriv.h" |
+#include "SkRefCnt.h" |
class GrFragmentProcessor; |
class GrProcessor; |
@@ -20,7 +21,7 @@ namespace GrRRectEffect { |
* Creates an effect that performs anti-aliased clipping against a SkRRect. It doesn't support |
* all varieties of SkRRect so the caller must check for a nullptr return. |
*/ |
- GrFragmentProcessor* Create(GrPrimitiveEdgeType, const SkRRect&); |
+ sk_sp<GrFragmentProcessor> Make(GrPrimitiveEdgeType, const SkRRect&); |
}; |
#endif |