Index: src/effects/gradients/SkRadialGradient.cpp |
diff --git a/src/effects/gradients/SkRadialGradient.cpp b/src/effects/gradients/SkRadialGradient.cpp |
index 1976382bf209820afca6bc963dd7692f5bbe4732..4f97e268d505db39e69d366c7edda2986ba6911d 100644 |
--- a/src/effects/gradients/SkRadialGradient.cpp |
+++ b/src/effects/gradients/SkRadialGradient.cpp |
@@ -468,11 +468,6 @@ public: |
const char* name() const override { return "Radial Gradient"; } |
- virtual void getGLProcessorKey(const GrGLSLCaps& caps, |
- GrProcessorKeyBuilder* b) const override { |
- GrGLRadialGradient::GenKey(*this, caps, b); |
- } |
- |
GrGLFragmentProcessor* createGLInstance() const override { |
return SkNEW_ARGS(GrGLRadialGradient, (*this)); |
} |
@@ -487,6 +482,11 @@ private: |
this->initClassID<GrRadialGradient>(); |
} |
+ virtual void onGetGLProcessorKey(const GrGLSLCaps& caps, |
+ GrProcessorKeyBuilder* b) const override { |
+ GrGLRadialGradient::GenKey(*this, caps, b); |
+ } |
+ |
GR_DECLARE_FRAGMENT_PROCESSOR_TEST; |
typedef GrGradientEffect INHERITED; |