Index: include/effects/SkTableMaskFilter.h |
diff --git a/include/effects/SkTableMaskFilter.h b/include/effects/SkTableMaskFilter.h |
index 6084ec4061b17f1c3c8649b69d8b67d8bb66978f..1d530877cc95a1d860120482bee5b3465da79483 100644 |
--- a/include/effects/SkTableMaskFilter.h |
+++ b/include/effects/SkTableMaskFilter.h |
@@ -30,19 +30,19 @@ public: |
static void MakeClipTable(uint8_t table[256], uint8_t min, uint8_t max); |
static SkTableMaskFilter* Create(const uint8_t table[256]) { |
- return SkNEW_ARGS(SkTableMaskFilter, (table)); |
+ return new SkTableMaskFilter(table); |
} |
static SkTableMaskFilter* CreateGamma(SkScalar gamma) { |
uint8_t table[256]; |
MakeGammaTable(table, gamma); |
- return SkNEW_ARGS(SkTableMaskFilter, (table)); |
+ return new SkTableMaskFilter(table); |
} |
static SkTableMaskFilter* CreateClip(uint8_t min, uint8_t max) { |
uint8_t table[256]; |
MakeClipTable(table, min, max); |
- return SkNEW_ARGS(SkTableMaskFilter, (table)); |
+ return new SkTableMaskFilter(table); |
} |
SkMask::Format getFormat() const override; |