Index: src/effects/SkMagnifierImageFilter.cpp |
diff --git a/src/effects/SkMagnifierImageFilter.cpp b/src/effects/SkMagnifierImageFilter.cpp |
index a397689ef80a96498ac7a0084d06a8a77c292466..e0edb4a75cbf8b7973ec169bb5a02865c39bc768 100644 |
--- a/src/effects/SkMagnifierImageFilter.cpp |
+++ b/src/effects/SkMagnifierImageFilter.cpp |
@@ -47,8 +47,6 @@ public: |
const char* name() const override { return "Magnifier"; } |
- void getGLProcessorKey(const GrGLSLCaps&, GrProcessorKeyBuilder*) const override; |
- |
GrGLFragmentProcessor* createGLInstance() const override; |
const SkRect& bounds() const { return fBounds; } // Bounds of source image. |
@@ -85,6 +83,8 @@ private: |
this->initClassID<GrMagnifierEffect>(); |
} |
+ void onGetGLProcessorKey(const GrGLSLCaps&, GrProcessorKeyBuilder*) const override; |
+ |
bool onIsEqual(const GrFragmentProcessor&) const override; |
void onComputeInvariantOutput(GrInvariantOutput* inout) const override; |
@@ -190,7 +190,7 @@ void GrGLMagnifierEffect::setData(const GrGLProgramDataManager& pdman, |
///////////////////////////////////////////////////////////////////// |
-void GrMagnifierEffect::getGLProcessorKey(const GrGLSLCaps& caps, |
+void GrMagnifierEffect::onGetGLProcessorKey(const GrGLSLCaps& caps, |
GrProcessorKeyBuilder* b) const { |
GrGLMagnifierEffect::GenKey(*this, caps, b); |
} |