Index: src/gpu/effects/GrRRectEffect.h |
diff --git a/src/gpu/effects/GrRRectEffect.h b/src/gpu/effects/GrRRectEffect.h |
index 63e08a442430de58737b51f370ef6ab6aba3c314..36e318c2647bc1cec66b230e9a82248e16119950 100644 |
--- a/src/gpu/effects/GrRRectEffect.h |
+++ b/src/gpu/effects/GrRRectEffect.h |
@@ -8,6 +8,7 @@ |
#ifndef GrRRectEffect_DEFINED |
#define GrRRectEffect_DEFINED |
+#include "SkRefCnt.h" |
#include "GrTypes.h" |
#include "GrTypesPriv.h" |
@@ -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 |