Index: src/gpu/batches/GrDrawPathBatch.h |
diff --git a/src/gpu/batches/GrDrawPathBatch.h b/src/gpu/batches/GrDrawPathBatch.h |
index 228ad86617f234d40b892fb295a1883a350c7e23..bb76abb26b2e3d1677aaa4c1f7c8000c74e77a81 100644 |
--- a/src/gpu/batches/GrDrawPathBatch.h |
+++ b/src/gpu/batches/GrDrawPathBatch.h |
@@ -97,7 +97,7 @@ public: |
static GrPathRangeDraw* Create(GrPathRange* range, TransformType transformType, |
int reserveCnt) { |
- return SkNEW_ARGS(GrPathRangeDraw, (range, transformType, reserveCnt)); |
+ return new GrPathRangeDraw(range, transformType, reserveCnt); |
} |
void append(uint16_t index, float transform[]) { |
@@ -154,7 +154,7 @@ public: |
// This can't return a more abstract type because we install the stencil settings late :( |
static GrDrawPathBatchBase* Create(const SkMatrix& viewMatrix, const SkMatrix& localMatrix, |
GrColor color, GrPathRangeDraw* pathRangeDraw) { |
- return SkNEW_ARGS(GrDrawPathRangeBatch, (viewMatrix, localMatrix, color, pathRangeDraw)); |
+ return new GrDrawPathRangeBatch(viewMatrix, localMatrix, color, pathRangeDraw); |
} |
~GrDrawPathRangeBatch() override; |