Index: src/effects/SkLumaColorFilter.cpp |
diff --git a/src/effects/SkLumaColorFilter.cpp b/src/effects/SkLumaColorFilter.cpp |
index acdebf8418b7cd382dc051a5b1ec4bc4ac796d80..46d02aa6b34fa89f32e60f9e88d33e1e020c2196 100644 |
--- a/src/effects/SkLumaColorFilter.cpp |
+++ b/src/effects/SkLumaColorFilter.cpp |
@@ -62,11 +62,9 @@ public: |
class GLSLProcessor : public GrGLSLFragmentProcessor { |
public: |
- GLSLProcessor(const GrProcessor&) {} |
- |
static void GenKey(const GrProcessor&, const GrGLSLCaps&, GrProcessorKeyBuilder* b) {} |
- virtual void emitCode(EmitArgs& args) override { |
+ void emitCode(EmitArgs& args) override { |
if (nullptr == args.fInputColor) { |
args.fInputColor = "vec4(1)"; |
} |
@@ -92,7 +90,7 @@ private: |
} |
GrGLSLFragmentProcessor* onCreateGLSLInstance() const override { |
- return new GLSLProcessor(*this); |
+ return new GLSLProcessor; |
} |
virtual void onGetGLSLProcessorKey(const GrGLSLCaps& caps, |