Index: src/gpu/effects/GrXfermodeFragmentProcessor.cpp |
diff --git a/src/gpu/effects/GrXfermodeFragmentProcessor.cpp b/src/gpu/effects/GrXfermodeFragmentProcessor.cpp |
index c83d6bee55ab7f633da4fe7e88bc020af39a9c1b..7a358d6ef5f2e4b6ff1d82704e4c26717038a308 100644 |
--- a/src/gpu/effects/GrXfermodeFragmentProcessor.cpp |
+++ b/src/gpu/effects/GrXfermodeFragmentProcessor.cpp |
@@ -59,8 +59,6 @@ private: |
class GLComposeTwoFragmentProcessor : public GrGLSLFragmentProcessor { |
public: |
- GLComposeTwoFragmentProcessor(const GrProcessor& processor) {} |
- |
void emitCode(EmitArgs&) override; |
private: |
@@ -82,7 +80,7 @@ const GrFragmentProcessor* ComposeTwoFragmentProcessor::TestCreate(GrProcessorTe |
} |
GrGLSLFragmentProcessor* ComposeTwoFragmentProcessor::onCreateGLSLInstance() const{ |
- return new GLComposeTwoFragmentProcessor(*this); |
+ return new GLComposeTwoFragmentProcessor; |
} |
///////////////////////////////////////////////////////////////////// |
@@ -229,8 +227,6 @@ private: |
class GLComposeOneFragmentProcessor : public GrGLSLFragmentProcessor { |
public: |
- GLComposeOneFragmentProcessor(const GrProcessor& processor) {} |
- |
void emitCode(EmitArgs& args) override { |
GrGLSLFragmentBuilder* fragBuilder = args.fFragBuilder; |
SkXfermode::Mode mode = args.fFp.cast<ComposeOneFragmentProcessor>().mode(); |
@@ -278,7 +274,7 @@ const GrFragmentProcessor* ComposeOneFragmentProcessor::TestCreate(GrProcessorTe |
} |
GrGLSLFragmentProcessor* ComposeOneFragmentProcessor::onCreateGLSLInstance() const { |
- return new GLComposeOneFragmentProcessor(*this); |
+ return new GLComposeOneFragmentProcessor; |
} |
////////////////////////////////////////////////////////////////////////////// |