Index: src/core/SkFont.cpp |
diff --git a/src/core/SkFont.cpp b/src/core/SkFont.cpp |
index dcc2f0bf67b762fd96f065a0304c4406192fd79f..d6895a480b85e5838cb784e3f37058ed6c55737d 100644 |
--- a/src/core/SkFont.cpp |
+++ b/src/core/SkFont.cpp |
@@ -40,7 +40,7 @@ SkFont* SkFont::Create(SkTypeface* face, SkScalar size, SkScalar scaleX, SkScala |
return NULL; |
} |
flags &= kAllFlags; |
- return SkNEW_ARGS(SkFont, (face, size, scaleX, skewX, mt, flags)); |
+ return new SkFont(face, size, scaleX, skewX, mt, flags); |
} |
SkFont* SkFont::Create(SkTypeface* face, SkScalar size, MaskType mt, uint32_t flags) { |