Index: src/fonts/SkFontMgr_fontconfig.cpp |
diff --git a/src/fonts/SkFontMgr_fontconfig.cpp b/src/fonts/SkFontMgr_fontconfig.cpp |
index 1d17111b79213820b68a046302383f47931a4c54..226da963d724163581f6c359456ae61142cfdc01 100644 |
--- a/src/fonts/SkFontMgr_fontconfig.cpp |
+++ b/src/fonts/SkFontMgr_fontconfig.cpp |
@@ -311,7 +311,7 @@ protected: |
return NULL; |
} |
- SkTypeface* face = SkNEW_ARGS(FontConfigTypeface, (style, isFixedWidth, stream)); |
+ SkTypeface* face = FontConfigTypeface::Create(style, isFixedWidth, stream); |
return face; |
} |