Index: src/gpu/GrAAHairLinePathRenderer.cpp |
diff --git a/src/gpu/GrAAHairLinePathRenderer.cpp b/src/gpu/GrAAHairLinePathRenderer.cpp |
index 02ff48e0eceb84d496ad40ffad3e5a19ad1f350c..f2f9563f26c1312f1fc54b49e0265340e1b4fab0 100644 |
--- a/src/gpu/GrAAHairLinePathRenderer.cpp |
+++ b/src/gpu/GrAAHairLinePathRenderer.cpp |
@@ -680,9 +680,7 @@ public: |
SkIRect fDevClipBounds; |
}; |
- static GrDrawBatch* Create(const Geometry& geometry) { |
- return SkNEW_ARGS(AAHairlineBatch, (geometry)); |
- } |
+ static GrDrawBatch* Create(const Geometry& geometry) { return new AAHairlineBatch(geometry); } |
const char* name() const override { return "AAHairlineBatch"; } |