Index: src/gpu/batches/GrStencilPathBatch.h |
diff --git a/src/gpu/batches/GrStencilPathBatch.h b/src/gpu/batches/GrStencilPathBatch.h |
index d6790091ae90b84a805f7798332b53e862013d79..6b4ddf00df3ef13bcf04a6f6b7a129dab8056cda 100644 |
--- a/src/gpu/batches/GrStencilPathBatch.h |
+++ b/src/gpu/batches/GrStencilPathBatch.h |
@@ -23,8 +23,7 @@ public: |
const GrScissorState& scissor, |
GrRenderTarget* renderTarget, |
const GrPath* path) { |
- return SkNEW_ARGS(GrStencilPathBatch, (viewMatrix, useHWAA, stencil, scissor, renderTarget, |
- path)); |
+ return new GrStencilPathBatch(viewMatrix, useHWAA, stencil, scissor, renderTarget, path); |
} |
const char* name() const override { return "StencilPath"; } |