aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/ports/SkRemotableFontMgr_win_dw.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/ports/SkRemotableFontMgr_win_dw.cpp')
-rw-r--r--src/ports/SkRemotableFontMgr_win_dw.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/ports/SkRemotableFontMgr_win_dw.cpp b/src/ports/SkRemotableFontMgr_win_dw.cpp
index 006346acab..2d06255a24 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);
}