Index: src/pdf/SkPDFDevice.h |
diff --git a/src/pdf/SkPDFDevice.h b/src/pdf/SkPDFDevice.h |
index bed294702d4ff50bf3e5797108de5fc1effcabb6..06d3e108ee688967a31c3efed9230504127d0def 100644 |
--- a/src/pdf/SkPDFDevice.h |
+++ b/src/pdf/SkPDFDevice.h |
@@ -65,14 +65,14 @@ public: |
static SkPDFDevice* Create(SkISize pageSize, |
SkScalar rasterDpi, |
SkPDFCanon* canon) { |
- return SkNEW_ARGS(SkPDFDevice, (pageSize, rasterDpi, canon, true)); |
+ return new SkPDFDevice(pageSize, rasterDpi, canon, true); |
} |
/** Create a PDF drawing context without fipping the y-axis. */ |
static SkPDFDevice* CreateUnflipped(SkISize pageSize, |
SkScalar rasterDpi, |
SkPDFCanon* canon) { |
- return SkNEW_ARGS(SkPDFDevice, (pageSize, rasterDpi, canon, false)); |
+ return new SkPDFDevice(pageSize, rasterDpi, canon, false); |
} |
virtual ~SkPDFDevice(); |