Index: src/ports/SkFontConfigTypeface.h |
diff --git a/src/ports/SkFontConfigTypeface.h b/src/ports/SkFontConfigTypeface.h |
index 3672f4e8d39ecb97ffb449dc9ce659a4825fc2a9..d207f088ae05911a7f06a8df720247dc19a312be 100644 |
--- a/src/ports/SkFontConfigTypeface.h |
+++ b/src/ports/SkFontConfigTypeface.h |
@@ -21,12 +21,12 @@ public: |
static FontConfigTypeface* Create(const SkFontStyle& style, |
const SkFontConfigInterface::FontIdentity& fi, |
const SkString& familyName) { |
- return SkNEW_ARGS(FontConfigTypeface, (style, fi, familyName)); |
+ return new FontConfigTypeface(style, fi, familyName); |
} |
static FontConfigTypeface* Create(const SkFontStyle& style, bool fixedWidth, |
SkStreamAsset* localStream) { |
- return SkNEW_ARGS(FontConfigTypeface, (style, fixedWidth, localStream)); |
+ return new FontConfigTypeface(style, fixedWidth, localStream); |
} |
const SkFontConfigInterface::FontIdentity& getIdentity() const { |