Index: src/effects/SkColorCubeFilter.cpp |
diff --git a/src/effects/SkColorCubeFilter.cpp b/src/effects/SkColorCubeFilter.cpp |
index eeffb0873313de7368d53dcc1a01cdd762888613..3b7c75fa7f5990c320dc0c45c177bba1cc79758c 100644 |
--- a/src/effects/SkColorCubeFilter.cpp |
+++ b/src/effects/SkColorCubeFilter.cpp |
@@ -194,9 +194,6 @@ public: |
const char* name() const override { return "ColorCube"; } |
- virtual void getGLProcessorKey(const GrGLSLCaps& caps, |
- GrProcessorKeyBuilder* b) const override; |
- |
GrGLFragmentProcessor* createGLInstance() const override; |
int colorCubeSize() const { return fColorCubeAccess.getTexture()->width(); } |
@@ -222,6 +219,9 @@ public: |
}; |
private: |
+ virtual void onGetGLProcessorKey(const GrGLSLCaps& caps, |
+ GrProcessorKeyBuilder* b) const override; |
+ |
bool onIsEqual(const GrFragmentProcessor&) const override { return true; } |
GrColorCubeEffect(GrTexture* colorCube); |
@@ -242,7 +242,7 @@ GrColorCubeEffect::GrColorCubeEffect(GrTexture* colorCube) |
GrColorCubeEffect::~GrColorCubeEffect() { |
} |
-void GrColorCubeEffect::getGLProcessorKey(const GrGLSLCaps& caps, GrProcessorKeyBuilder* b) const { |
+void GrColorCubeEffect::onGetGLProcessorKey(const GrGLSLCaps& caps, GrProcessorKeyBuilder* b) const { |
GLProcessor::GenKey(*this, caps, b); |
} |