Index: src/effects/SkMagnifierImageFilter.cpp |
diff --git a/src/effects/SkMagnifierImageFilter.cpp b/src/effects/SkMagnifierImageFilter.cpp |
index 45f630a0858b8f9745e3a47577fd7e46853eba06..734002dfaea4cb68c7f227d799a24c1cdab8f25e 100644 |
--- a/src/effects/SkMagnifierImageFilter.cpp |
+++ b/src/effects/SkMagnifierImageFilter.cpp |
@@ -100,9 +100,7 @@ typedef GrGLSLProgramDataManager::UniformHandle UniformHandle; |
class GrGLMagnifierEffect : public GrGLSLFragmentProcessor { |
public: |
- GrGLMagnifierEffect(const GrProcessor&); |
- |
- virtual void emitCode(EmitArgs&) override; |
+ void emitCode(EmitArgs&) override; |
protected: |
void onSetData(const GrGLSLProgramDataManager&, const GrProcessor&) override; |
@@ -116,9 +114,6 @@ private: |
typedef GrGLSLFragmentProcessor INHERITED; |
}; |
-GrGLMagnifierEffect::GrGLMagnifierEffect(const GrProcessor&) { |
-} |
- |
void GrGLMagnifierEffect::emitCode(EmitArgs& args) { |
GrGLSLUniformHandler* uniformHandler = args.fUniformHandler; |
fOffsetVar = uniformHandler->addUniform(GrGLSLUniformHandler::kFragment_Visibility, |
@@ -187,7 +182,7 @@ void GrMagnifierEffect::onGetGLSLProcessorKey(const GrGLSLCaps& caps, |
} |
GrGLSLFragmentProcessor* GrMagnifierEffect::onCreateGLSLInstance() const { |
- return new GrGLMagnifierEffect(*this); |
+ return new GrGLMagnifierEffect; |
} |
GR_DEFINE_FRAGMENT_PROCESSOR_TEST(GrMagnifierEffect); |