Index: src/gpu/effects/GrSimpleTextureEffect.cpp |
diff --git a/src/gpu/effects/GrSimpleTextureEffect.cpp b/src/gpu/effects/GrSimpleTextureEffect.cpp |
index 74e86249b05585f3bde3057a662ac06e7f09370f..6f47b047009818c457d6bc4160a8196d88181016 100644 |
--- a/src/gpu/effects/GrSimpleTextureEffect.cpp |
+++ b/src/gpu/effects/GrSimpleTextureEffect.cpp |
@@ -13,9 +13,7 @@ |
class GrGLSimpleTextureEffect : public GrGLSLFragmentProcessor { |
public: |
- GrGLSimpleTextureEffect(const GrProcessor&) {} |
- |
- virtual void emitCode(EmitArgs& args) override { |
+ void emitCode(EmitArgs& args) override { |
GrGLSLFragmentBuilder* fragBuilder = args.fFragBuilder; |
fragBuilder->codeAppendf("\t%s = ", args.fOutputColor); |
fragBuilder->appendTextureLookupAndModulate(args.fInputColor, |
@@ -41,7 +39,7 @@ void GrSimpleTextureEffect::onGetGLSLProcessorKey(const GrGLSLCaps& caps, |
} |
GrGLSLFragmentProcessor* GrSimpleTextureEffect::onCreateGLSLInstance() const { |
- return new GrGLSimpleTextureEffect(*this); |
+ return new GrGLSimpleTextureEffect; |
} |
/////////////////////////////////////////////////////////////////////////////// |