Index: src/effects/gradients/SkLinearGradient.cpp |
diff --git a/src/effects/gradients/SkLinearGradient.cpp b/src/effects/gradients/SkLinearGradient.cpp |
index 2c8e1831377580d2102328164b029d616850a7fd..5bf6b73f07597458e8f4866575c26696b928cc8c 100644 |
--- a/src/effects/gradients/SkLinearGradient.cpp |
+++ b/src/effects/gradients/SkLinearGradient.cpp |
@@ -474,7 +474,7 @@ public: |
const TransformedCoordsArray&, |
const TextureSamplerArray&) override; |
- static void GenKey(const GrProcessor& processor, const GrGLCaps&, GrProcessorKeyBuilder* b) { |
+ static void GenKey(const GrProcessor& processor, const GrGLSLCaps&, GrProcessorKeyBuilder* b) { |
b->add32(GenBaseGradientKey(processor)); |
} |
@@ -499,7 +499,7 @@ public: |
const char* name() const override { return "Linear Gradient"; } |
- virtual void getGLProcessorKey(const GrGLCaps& caps, |
+ virtual void getGLProcessorKey(const GrGLSLCaps& caps, |
GrProcessorKeyBuilder* b) const override { |
GrGLLinearGradient::GenKey(*this, caps, b); |
} |