Index: src/gpu/effects/GrDitherEffect.cpp |
diff --git a/src/gpu/effects/GrDitherEffect.cpp b/src/gpu/effects/GrDitherEffect.cpp |
index 6d394506314fac12e9581b7a4188d3785288373a..2b10ac0080e1d2e9cd13c6aa7e46311d82a44acc 100644 |
--- a/src/gpu/effects/GrDitherEffect.cpp |
+++ b/src/gpu/effects/GrDitherEffect.cpp |
@@ -25,14 +25,14 @@ public: |
const char* name() const override { return "Dither"; } |
- GrGLFragmentProcessor* createGLInstance() const override; |
- |
private: |
DitherEffect() { |
this->initClassID<DitherEffect>(); |
this->setWillReadFragmentPosition(); |
} |
+ GrGLFragmentProcessor* onCreateGLInstance() const override; |
+ |
void onGetGLProcessorKey(const GrGLSLCaps&, GrProcessorKeyBuilder*) const override; |
// All dither effects are equal |
@@ -97,7 +97,7 @@ void DitherEffect::onGetGLProcessorKey(const GrGLSLCaps& caps, |
GLDitherEffect::GenKey(*this, caps, b); |
} |
-GrGLFragmentProcessor* DitherEffect::createGLInstance() const { |
+GrGLFragmentProcessor* DitherEffect::onCreateGLInstance() const { |
return SkNEW_ARGS(GLDitherEffect, (*this)); |
} |