Index: src/svg/SkSVGCanvas.cpp |
diff --git a/src/svg/SkSVGCanvas.cpp b/src/svg/SkSVGCanvas.cpp |
index 22a6e0bd9c39f13af044f7324fde7b8dfa79ce46..b6634b8a1db538df765335b3960f30b2fe5cb3d7 100644 |
--- a/src/svg/SkSVGCanvas.cpp |
+++ b/src/svg/SkSVGCanvas.cpp |
@@ -13,5 +13,5 @@ SkCanvas* SkSVGCanvas::Create(const SkRect& bounds, SkXMLWriter* writer) { |
SkISize size = bounds.roundOut().size(); |
SkAutoTUnref<SkBaseDevice> device(SkSVGDevice::Create(size, writer)); |
- return SkNEW_ARGS(SkCanvas, (device)); |
+ return new SkCanvas(device); |
} |