Index: tests/GLProgramsTest.cpp |
diff --git a/tests/GLProgramsTest.cpp b/tests/GLProgramsTest.cpp |
index d36c48d82e4db7f2859bc1845a5341755623849b..e3a1d6c62a2ce8c90fd1151e610693b5248ce577 100644 |
--- a/tests/GLProgramsTest.cpp |
+++ b/tests/GLProgramsTest.cpp |
@@ -65,11 +65,6 @@ public: |
const char* name() const override { return "Big Ole Key"; } |
- virtual void getGLProcessorKey(const GrGLSLCaps& caps, |
- GrProcessorKeyBuilder* b) const override { |
- GLBigKeyProcessor::GenKey(*this, caps, b); |
- } |
- |
GrGLFragmentProcessor* createGLInstance() const override { |
return SkNEW_ARGS(GLBigKeyProcessor, (*this)); |
} |
@@ -78,6 +73,10 @@ private: |
BigKeyProcessor() { |
this->initClassID<BigKeyProcessor>(); |
} |
+ virtual void onGetGLProcessorKey(const GrGLSLCaps& caps, |
+ GrProcessorKeyBuilder* b) const override { |
+ GLBigKeyProcessor::GenKey(*this, caps, b); |
+ } |
bool onIsEqual(const GrFragmentProcessor&) const override { return true; } |
void onComputeInvariantOutput(GrInvariantOutput* inout) const override { } |