Index: src/effects/SkLumaColorFilter.cpp |
diff --git a/src/effects/SkLumaColorFilter.cpp b/src/effects/SkLumaColorFilter.cpp |
index 34cfdad102b25e3f4edcaf9d3d4f6427aa2f52c5..939accf13b187244e221f664c10b50049c0c4df6 100644 |
--- a/src/effects/SkLumaColorFilter.cpp |
+++ b/src/effects/SkLumaColorFilter.cpp |
@@ -65,11 +65,6 @@ public: |
const char* name() const override { return "Luminance-to-Alpha"; } |
- virtual void getGLProcessorKey(const GrGLSLCaps& caps, |
- GrProcessorKeyBuilder* b) const override { |
- GLProcessor::GenKey(*this, caps, b); |
- } |
- |
GrGLFragmentProcessor* createGLInstance() const override { |
return SkNEW_ARGS(GLProcessor, (*this)); |
} |
@@ -105,6 +100,11 @@ private: |
this->initClassID<LumaColorFilterEffect>(); |
} |
+ virtual void onGetGLProcessorKey(const GrGLSLCaps& caps, |
+ GrProcessorKeyBuilder* b) const override { |
+ GLProcessor::GenKey(*this, caps, b); |
+ } |
+ |
bool onIsEqual(const GrFragmentProcessor&) const override { return true; } |
void onComputeInvariantOutput(GrInvariantOutput* inout) const override { |