Index: src/ports/SkRemotableFontMgr_win_dw.cpp |
diff --git a/src/ports/SkRemotableFontMgr_win_dw.cpp b/src/ports/SkRemotableFontMgr_win_dw.cpp |
index 006346acab083cedb2b537b2263aed65d48da70a..2d06255a24cff43ea5ee7548cea9df5285cb19ed 100644 |
--- a/src/ports/SkRemotableFontMgr_win_dw.cpp |
+++ b/src/ports/SkRemotableFontMgr_win_dw.cpp |
@@ -466,7 +466,7 @@ public: |
HRNM(loader->CreateStreamFromKey(id.fKey, id.fKeySize, &fontFileStream), |
"Could not create font file stream."); |
- return SkNEW_ARGS(SkDWriteFontFileStream, (fontFileStream.get())); |
+ return new SkDWriteFontFileStream(fontFileStream.get()); |
} |
private: |
@@ -502,6 +502,5 @@ SkRemotableFontMgr* SkRemotableFontMgr_New_DirectWrite() { |
}; |
} |
- return SkNEW_ARGS(SkRemotableFontMgr_DirectWrite, (sysFontCollection.get(), |
- localeName, localeNameLen)); |
+ return new SkRemotableFontMgr_DirectWrite(sysFontCollection.get(), localeName, localeNameLen); |
} |