Index: src/gpu/effects/GrCoverageSetOpXP.cpp |
diff --git a/src/gpu/effects/GrCoverageSetOpXP.cpp b/src/gpu/effects/GrCoverageSetOpXP.cpp |
index d7f4347b08f98c42dae25d406b9849e0f15b04e5..8a7c83bbfbb55c5893bea17adfda7c4c430200f2 100644 |
--- a/src/gpu/effects/GrCoverageSetOpXP.cpp |
+++ b/src/gpu/effects/GrCoverageSetOpXP.cpp |
@@ -18,7 +18,7 @@ |
class CoverageSetOpXP : public GrXferProcessor { |
public: |
static GrXferProcessor* Create(SkRegion::Op regionOp, bool invertCoverage) { |
- return SkNEW_ARGS(CoverageSetOpXP, (regionOp, invertCoverage)); |
+ return new CoverageSetOpXP(regionOp, invertCoverage); |
} |
~CoverageSetOpXP() override; |
@@ -102,7 +102,7 @@ void CoverageSetOpXP::onGetGLProcessorKey(const GrGLSLCaps& caps, GrProcessorKey |
} |
GrGLXferProcessor* CoverageSetOpXP::createGLInstance() const { |
- return SkNEW_ARGS(GLCoverageSetOpXP, (*this)); |
+ return new GLCoverageSetOpXP(*this); |
} |
GrXferProcessor::OptFlags |