Index: src/effects/SkColorCubeFilter.cpp |
diff --git a/src/effects/SkColorCubeFilter.cpp b/src/effects/SkColorCubeFilter.cpp |
index 5f1f10d53f020f5192ba5c84c4f1e7a9fa714b5e..255c59074e66110764dcb51b6aa40677eff95bb0 100644 |
--- a/src/effects/SkColorCubeFilter.cpp |
+++ b/src/effects/SkColorCubeFilter.cpp |
@@ -177,10 +177,7 @@ public: |
class GLSLProcessor : public GrGLSLFragmentProcessor { |
public: |
- GLSLProcessor(const GrProcessor&); |
- virtual ~GLSLProcessor(); |
- |
- virtual void emitCode(EmitArgs&) override; |
+ void emitCode(EmitArgs&) override; |
static inline void GenKey(const GrProcessor&, const GrGLSLCaps&, GrProcessorKeyBuilder*); |
@@ -226,7 +223,7 @@ void GrColorCubeEffect::onGetGLSLProcessorKey(const GrGLSLCaps& caps, |
} |
GrGLSLFragmentProcessor* GrColorCubeEffect::onCreateGLSLInstance() const { |
- return new GLSLProcessor(*this); |
+ return new GLSLProcessor; |
} |
void GrColorCubeEffect::onComputeInvariantOutput(GrInvariantOutput* inout) const { |
@@ -235,12 +232,6 @@ void GrColorCubeEffect::onComputeInvariantOutput(GrInvariantOutput* inout) const |
/////////////////////////////////////////////////////////////////////////////// |
-GrColorCubeEffect::GLSLProcessor::GLSLProcessor(const GrProcessor&) { |
-} |
- |
-GrColorCubeEffect::GLSLProcessor::~GLSLProcessor() { |
-} |
- |
void GrColorCubeEffect::GLSLProcessor::emitCode(EmitArgs& args) { |
if (nullptr == args.fInputColor) { |
args.fInputColor = "vec4(1)"; |