Index: src/effects/SkAlphaThresholdFilter.cpp |
diff --git a/src/effects/SkAlphaThresholdFilter.cpp b/src/effects/SkAlphaThresholdFilter.cpp |
index 6cadbc3e5185fe178890bc1613938cdf7995f62d..71d9aa2077cdf92b995d84c0f7fb9d6f53966f49 100644 |
--- a/src/effects/SkAlphaThresholdFilter.cpp |
+++ b/src/effects/SkAlphaThresholdFilter.cpp |
@@ -143,9 +143,7 @@ private: |
class GrGLAlphaThresholdEffect : public GrGLSLFragmentProcessor { |
public: |
- GrGLAlphaThresholdEffect(const GrFragmentProcessor&) {} |
- |
- virtual void emitCode(EmitArgs&) override; |
+ void emitCode(EmitArgs&) override; |
protected: |
void onSetData(const GrGLSLProgramDataManager&, const GrProcessor&) override; |
@@ -237,7 +235,7 @@ void AlphaThresholdEffect::onGetGLSLProcessorKey(const GrGLSLCaps& caps, |
} |
GrGLSLFragmentProcessor* AlphaThresholdEffect::onCreateGLSLInstance() const { |
- return new GrGLAlphaThresholdEffect(*this); |
+ return new GrGLAlphaThresholdEffect; |
} |
bool AlphaThresholdEffect::onIsEqual(const GrFragmentProcessor& sBase) const { |