Index: src/ports/SkFontHost_fontconfig.cpp |
diff --git a/src/ports/SkFontHost_fontconfig.cpp b/src/ports/SkFontHost_fontconfig.cpp |
index 3700ed1e97dad0ca05290ab6f8ef49ac80ffbebf..07bfbd044cb32ec3c0f4bb4f76a62acc4b6116cd 100644 |
--- a/src/ports/SkFontHost_fontconfig.cpp |
+++ b/src/ports/SkFontHost_fontconfig.cpp |
@@ -118,7 +118,7 @@ SkTypeface* FontConfigTypeface::LegacyCreateTypeface( |
return face; |
} |
- face = SkNEW_ARGS(FontConfigTypeface, (outStyle, indentity, outFamilyName)); |
+ face = FontConfigTypeface::Create(outStyle, indentity, outFamilyName); |
SkTypefaceCache::Add(face, style); |
// SkDebugf("add face <%s> <%s> %p [%d]\n", familyName, outFamilyName.c_str(), face, face->getRefCnt()); |
return face; |