Index: src/gpu/batches/GrDrawPathBatch.h |
diff --git a/src/gpu/batches/GrDrawPathBatch.h b/src/gpu/batches/GrDrawPathBatch.h |
index e8349d1ac7c0d95fa1eb1c430f4212cbb2052e01..cf67cd9bba1a822bf2fb330e0adc2bc893be188d 100644 |
--- a/src/gpu/batches/GrDrawPathBatch.h |
+++ b/src/gpu/batches/GrDrawPathBatch.h |
@@ -18,7 +18,7 @@ class GrDrawPathBatch final : public GrDrawBatch { |
public: |
// This must return the concrete type because we install the stencil settings late :( |
static GrDrawPathBatch* Create(const GrPathProcessor* primProc, const GrPath* path) { |
- return SkNEW_ARGS(GrDrawPathBatch, (primProc, path)); |
+ return new GrDrawPathBatch(primProc, path); |
} |
const char* name() const override { return "DrawPath"; } |