Index: src/effects/SkMorphologyImageFilter.cpp |
diff --git a/src/effects/SkMorphologyImageFilter.cpp b/src/effects/SkMorphologyImageFilter.cpp |
index 30ba25159d27b00bc454e67f36f960e77e01b1fa..c4ab0db4feb906c991ee142cb7c4b93a892d2d15 100644 |
--- a/src/effects/SkMorphologyImageFilter.cpp |
+++ b/src/effects/SkMorphologyImageFilter.cpp |
@@ -318,8 +318,6 @@ public: |
const char* name() const override { return "Morphology"; } |
- void getGLProcessorKey(const GrGLSLCaps&, GrProcessorKeyBuilder*) const override; |
- |
GrGLFragmentProcessor* createGLInstance() const override; |
protected: |
@@ -329,6 +327,8 @@ protected: |
float fRange[2]; |
private: |
+ void onGetGLProcessorKey(const GrGLSLCaps&, GrProcessorKeyBuilder*) const override; |
+ |
bool onIsEqual(const GrFragmentProcessor&) const override; |
void onComputeInvariantOutput(GrInvariantOutput* inout) const override; |
@@ -513,7 +513,7 @@ GrMorphologyEffect::GrMorphologyEffect(GrProcessorDataManager* procDataManager, |
GrMorphologyEffect::~GrMorphologyEffect() { |
} |
-void GrMorphologyEffect::getGLProcessorKey(const GrGLSLCaps& caps, GrProcessorKeyBuilder* b) const { |
+void GrMorphologyEffect::onGetGLProcessorKey(const GrGLSLCaps& caps, GrProcessorKeyBuilder* b) const { |
GrGLMorphologyEffect::GenKey(*this, caps, b); |
} |