Index: src/gpu/effects/GrGammaEffect.h |
diff --git a/src/gpu/effects/GrGammaEffect.h b/src/gpu/effects/GrGammaEffect.h |
index 2e53b09278613799deea19ef7cf09c10f8d4b775..3f84ac91e0febd3ae0b4481b6539d523f244f36b 100644 |
--- a/src/gpu/effects/GrGammaEffect.h |
+++ b/src/gpu/effects/GrGammaEffect.h |
@@ -21,7 +21,7 @@ public: |
/** |
* Creates an effect that applies a gamma curve. |
*/ |
- static const GrFragmentProcessor* Create(SkScalar gamma); |
+ static sk_sp<GrFragmentProcessor> Make(SkScalar gamma); |
const char* name() const override { return "Gamma"; } |