Index: src/gpu/batches/GrStrokeRectBatch.h |
diff --git a/src/gpu/batches/GrStrokeRectBatch.h b/src/gpu/batches/GrStrokeRectBatch.h |
index ee053d723ea6588b3501e983134302e8f0cb45ba..b374ea862da84cc11ed843abb2887fea471e4420 100644 |
--- a/src/gpu/batches/GrStrokeRectBatch.h |
+++ b/src/gpu/batches/GrStrokeRectBatch.h |
@@ -22,7 +22,7 @@ public: |
}; |
static GrDrawBatch* Create(const Geometry& geometry, bool snapToPixelCenters) { |
- return SkNEW_ARGS(GrStrokeRectBatch, (geometry, snapToPixelCenters)); |
+ return new GrStrokeRectBatch(geometry, snapToPixelCenters); |
} |
const char* name() const override { return "GrStrokeRectBatch"; } |