Index: include/effects/SkPerlinNoiseShader.h |
diff --git a/include/effects/SkPerlinNoiseShader.h b/include/effects/SkPerlinNoiseShader.h |
index f548c674e28f29b502bd82a6536d8696efedf8c6..1caece6f204096b0817ce86ea5db4bbbd2d92fcb 100644 |
--- a/include/effects/SkPerlinNoiseShader.h |
+++ b/include/effects/SkPerlinNoiseShader.h |
@@ -96,9 +96,11 @@ public: |
typedef SkShader::Context INHERITED; |
}; |
- virtual bool asFragmentProcessor(GrContext* context, const SkPaint&, const SkMatrix& viewM, |
- const SkMatrix*, GrColor*, GrProcessorDataManager*, |
- GrFragmentProcessor**) const override; |
+#if SK_SUPPORT_GPU |
+ const GrFragmentProcessor* asFragmentProcessor(GrContext* context, const SkMatrix& viewM, |
+ const SkMatrix*, SkFilterQuality, |
+ GrProcessorDataManager*) const override; |
+#endif |
SK_TO_STRING_OVERRIDE() |
SK_DECLARE_PUBLIC_FLATTENABLE_DESERIALIZATION_PROCS(SkPerlinNoiseShader) |