Index: src/gpu/effects/GrYUVEffect.cpp |
diff --git a/src/gpu/effects/GrYUVEffect.cpp b/src/gpu/effects/GrYUVEffect.cpp |
index e4d9d61bdb5efd695a34a7fc3b15ee90edff68f0..a227e05fdea4858a9c982cae885470b138544a9a 100644 |
--- a/src/gpu/effects/GrYUVEffect.cpp |
+++ b/src/gpu/effects/GrYUVEffect.cpp |
@@ -98,8 +98,6 @@ public: |
// this class always generates the same code. |
static void GenKey(const GrProcessor&, const GrGLSLCaps&, GrProcessorKeyBuilder*) {} |
- GLSLProcessor(const GrProcessor&) {} |
- |
void emitCode(EmitArgs& args) override { |
GrGLSLFragmentBuilder* fragBuilder = args.fFragBuilder; |
@@ -164,7 +162,7 @@ private: |
} |
GrGLSLFragmentProcessor* onCreateGLSLInstance() const override { |
- return new GLSLProcessor(*this); |
+ return new GLSLProcessor; |
} |
void onGetGLSLProcessorKey(const GrGLSLCaps& caps, GrProcessorKeyBuilder* b) const override { |
@@ -225,7 +223,7 @@ public: |
class GLSLProcessor : public GrGLSLFragmentProcessor { |
public: |
- GLSLProcessor(const GrProcessor&) : fLastColorSpace(-1), fLastOutputChannels(-1) {} |
+ GLSLProcessor() : fLastColorSpace(-1), fLastOutputChannels(-1) {} |
void emitCode(EmitArgs& args) override { |
GrGLSLFragmentBuilder* fragBuilder = args.fFragBuilder; |
@@ -320,7 +318,7 @@ public: |
private: |
GrGLSLFragmentProcessor* onCreateGLSLInstance() const override { |
- return new GLSLProcessor(*this); |
+ return new GLSLProcessor; |
} |
void onGetGLSLProcessorKey(const GrGLSLCaps& caps, GrProcessorKeyBuilder* b) const override { |