Index: tools/sk_tool_utils_font.cpp |
diff --git a/tools/sk_tool_utils_font.cpp b/tools/sk_tool_utils_font.cpp |
index 06008c6243c9127c8af01613f56a397c0feb02f6..6d6fda97c84d641cd675beb06c7ee8d9f2515583 100644 |
--- a/tools/sk_tool_utils_font.cpp |
+++ b/tools/sk_tool_utils_font.cpp |
@@ -59,13 +59,13 @@ SkTypeface* create_font(const char* name, SkTypeface::Style style) { |
if (fontData->fFontCache) { |
font = SkSafeRef(fontData->fFontCache); |
} else { |
- font = SkNEW_ARGS(SkTestFont, (*fontData)); |
+ font = new SkTestFont(*fontData); |
SkDEBUGCODE(font->fDebugName = sub->fName); |
SkDEBUGCODE(font->fDebugStyle = sub->fStyle); |
fontData->fFontCache = SkSafeRef(font); |
} |
} |
- return SkNEW_ARGS(SkTestTypeface, (font, SkFontStyle(style))); |
+ return new SkTestTypeface(font, SkFontStyle(style)); |
} |
} |