Index: include/effects/SkLumaColorFilter.h |
diff --git a/include/effects/SkLumaColorFilter.h b/include/effects/SkLumaColorFilter.h |
index 3a68607b1977dee04471ef958c3a71a5153c1c1c..1ffaa733b2f3298fa5ad71bbd952e0d5a77e43d5 100644 |
--- a/include/effects/SkLumaColorFilter.h |
+++ b/include/effects/SkLumaColorFilter.h |
@@ -9,6 +9,7 @@ |
#define SkLumaColorFilter_DEFINED |
#include "SkColorFilter.h" |
+#include "SkRefCnt.h" |
/** |
* Luminance-to-alpha color filter, as defined in |
@@ -32,7 +33,7 @@ public: |
void filterSpan(const SkPMColor src[], int count, SkPMColor[]) const override; |
#if SK_SUPPORT_GPU |
- const GrFragmentProcessor* asFragmentProcessor(GrContext*) const override; |
+ sk_sp<GrFragmentProcessor> asFragmentProcessor(GrContext*) const override; |
#endif |
SK_TO_STRING_OVERRIDE() |