| Index: src/effects/SkTableColorFilter.cpp
|
| diff --git a/src/effects/SkTableColorFilter.cpp b/src/effects/SkTableColorFilter.cpp
|
| index d9c07e254cc60416f7c7287380e75b3cd8f83752..c06e4363bf331a9fe01fcf5ccd7b35ab91cca97b 100644
|
| --- a/src/effects/SkTableColorFilter.cpp
|
| +++ b/src/effects/SkTableColorFilter.cpp
|
| @@ -377,9 +377,7 @@ private:
|
|
|
| class GLColorTableEffect : public GrGLSLFragmentProcessor {
|
| public:
|
| - GLColorTableEffect(const GrProcessor&);
|
| -
|
| - virtual void emitCode(EmitArgs&) override;
|
| + void emitCode(EmitArgs&) override;
|
|
|
| static void GenKey(const GrProcessor&, const GrGLSLCaps&, GrProcessorKeyBuilder* b) {}
|
|
|
| @@ -391,9 +389,6 @@ private:
|
| typedef GrGLSLFragmentProcessor INHERITED;
|
| };
|
|
|
| -GLColorTableEffect::GLColorTableEffect(const GrProcessor&) {
|
| -}
|
| -
|
| void GLColorTableEffect::onSetData(const GrGLSLProgramDataManager& pdm, const GrProcessor& proc) {
|
| // The textures are organized in a strip where the rows are ordered a, r, g, b.
|
| float rgbaYValues[4];
|
| @@ -507,7 +502,7 @@ void ColorTableEffect::onGetGLSLProcessorKey(const GrGLSLCaps& caps,
|
| }
|
|
|
| GrGLSLFragmentProcessor* ColorTableEffect::onCreateGLSLInstance() const {
|
| - return new GLColorTableEffect(*this);
|
| + return new GLColorTableEffect;
|
| }
|
|
|
| bool ColorTableEffect::onIsEqual(const GrFragmentProcessor& other) const {
|
|
|