Index: src/utils/debugger/SkOverdrawMode.cpp |
diff --git a/src/utils/debugger/SkOverdrawMode.cpp b/src/utils/debugger/SkOverdrawMode.cpp |
index 22a5f78b1e7511aea270b127c2ccf272ede0bb32..400e58309f0d73c327e7c79177680df4f7d307f4 100644 |
--- a/src/utils/debugger/SkOverdrawMode.cpp |
+++ b/src/utils/debugger/SkOverdrawMode.cpp |
@@ -105,10 +105,6 @@ static void add_overdraw_code(GrGLSLFragmentBuilder* fragBuilder, |
class GLOverdrawFP : public GrGLSLFragmentProcessor { |
public: |
- GLOverdrawFP(const GrOverdrawFP&) {} |
- |
- ~GLOverdrawFP() override {} |
- |
void emitCode(EmitArgs& args) override { |
GrGLSLFragmentBuilder* fragBuilder = args.fFragBuilder; |
SkString dstColor("dstColor"); |
@@ -126,7 +122,7 @@ private: |
/////////////////////////////////////////////////////////////////////////////// |
GrGLSLFragmentProcessor* GrOverdrawFP::onCreateGLSLInstance() const { |
- return new GLOverdrawFP(*this); |
+ return new GLOverdrawFP; |
} |
void GrOverdrawFP::onGetGLSLProcessorKey(const GrGLSLCaps& caps, GrProcessorKeyBuilder* b) const { |