Index: src/effects/SkColorFilters.cpp |
diff --git a/src/effects/SkColorFilters.cpp b/src/effects/SkColorFilters.cpp |
index 13ef7c6dfd9e5c5a79e179c85afe4e1250ea659a..bda3d9ad880f283e4b3ae89be78d6e08bb470da6 100644 |
--- a/src/effects/SkColorFilters.cpp |
+++ b/src/effects/SkColorFilters.cpp |
@@ -147,11 +147,6 @@ public: |
return true; |
} |
- virtual void getGLProcessorKey(const GrGLSLCaps& caps, |
- GrProcessorKeyBuilder* b) const override { |
- GLProcessor::GenKey(*this, caps, b); |
- } |
- |
GrGLFragmentProcessor* createGLInstance() const override { |
return SkNEW_ARGS(GLProcessor, (*this)); |
} |
@@ -220,6 +215,11 @@ private: |
this->initClassID<ModeColorFilterEffect>(); |
} |
+ virtual void onGetGLProcessorKey(const GrGLSLCaps& caps, |
+ GrProcessorKeyBuilder* b) const override { |
+ GLProcessor::GenKey(*this, caps, b); |
+ } |
+ |
bool onIsEqual(const GrFragmentProcessor& other) const override { |
const ModeColorFilterEffect& s = other.cast<ModeColorFilterEffect>(); |
return fMode == s.fMode && fColor == s.fColor; |