| Index: src/gpu/effects/GrTextureDomain.cpp
|
| diff --git a/src/gpu/effects/GrTextureDomain.cpp b/src/gpu/effects/GrTextureDomain.cpp
|
| index 00e8e82c8eba4dad51b0cbe46596ff427cc0329f..2bba9b6ea4a9b72d61faa4bab0bb737fdbaacefc 100644
|
| --- a/src/gpu/effects/GrTextureDomain.cpp
|
| +++ b/src/gpu/effects/GrTextureDomain.cpp
|
| @@ -176,9 +176,7 @@ void GrTextureDomain::GLDomain::setData(const GrGLSLProgramDataManager& pdman,
|
|
|
| class GrGLTextureDomainEffect : public GrGLSLFragmentProcessor {
|
| public:
|
| - GrGLTextureDomainEffect(const GrProcessor&);
|
| -
|
| - virtual void emitCode(EmitArgs&) override;
|
| + void emitCode(EmitArgs&) override;
|
|
|
| static inline void GenKey(const GrProcessor&, const GrGLSLCaps&, GrProcessorKeyBuilder*);
|
|
|
| @@ -190,9 +188,6 @@ private:
|
| typedef GrGLSLFragmentProcessor INHERITED;
|
| };
|
|
|
| -GrGLTextureDomainEffect::GrGLTextureDomainEffect(const GrProcessor&) {
|
| -}
|
| -
|
| void GrGLTextureDomainEffect::emitCode(EmitArgs& args) {
|
| const GrTextureDomainEffect& textureDomainEffect = args.fFp.cast<GrTextureDomainEffect>();
|
| const GrTextureDomain& domain = textureDomainEffect.textureDomain();
|
| @@ -261,7 +256,7 @@ void GrTextureDomainEffect::onGetGLSLProcessorKey(const GrGLSLCaps& caps,
|
| }
|
|
|
| GrGLSLFragmentProcessor* GrTextureDomainEffect::onCreateGLSLInstance() const {
|
| - return new GrGLTextureDomainEffect(*this);
|
| + return new GrGLTextureDomainEffect;
|
| }
|
|
|
| bool GrTextureDomainEffect::onIsEqual(const GrFragmentProcessor& sBase) const {
|
|
|