| Index: src/ports/SkTypeface_win_dw.h
|
| diff --git a/src/ports/SkTypeface_win_dw.h b/src/ports/SkTypeface_win_dw.h
|
| index 71d928bcb9bcce39292a06493584b320bb10b0c7..866e634d787665e6cee471ce39e1ecc255a7af56 100644
|
| --- a/src/ports/SkTypeface_win_dw.h
|
| +++ b/src/ports/SkTypeface_win_dw.h
|
| @@ -78,9 +78,8 @@ public:
|
| IDWriteFontFileLoader* fontFileLoader = NULL,
|
| IDWriteFontCollectionLoader* fontCollectionLoader = NULL) {
|
| SkFontID fontID = SkTypefaceCache::NewFontID();
|
| - return SkNEW_ARGS(DWriteFontTypeface, (get_style(font), fontID,
|
| - factory, fontFace, font, fontFamily,
|
| - fontFileLoader, fontCollectionLoader));
|
| + return new DWriteFontTypeface(get_style(font), fontID, factory, fontFace, font, fontFamily,
|
| + fontFileLoader, fontCollectionLoader);
|
| }
|
|
|
| protected:
|
|
|