Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(711)

Unified Diff: src/ports/SkTypeface_win_dw.cpp

Issue 1316123003: Style Change: SkNEW->new; SkDELETE->delete (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: 2015-08-26 (Wednesday) 15:59:00 EDT Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/ports/SkTypeface_win_dw.h ('k') | src/svg/SkSVGCanvas.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/ports/SkTypeface_win_dw.cpp
diff --git a/src/ports/SkTypeface_win_dw.cpp b/src/ports/SkTypeface_win_dw.cpp
index 90dc2c49adfcb316a219e41d2eaa7d15dad71b11..3af4cca4b248a147dec07c634e4e0a6f93445891 100644
--- a/src/ports/SkTypeface_win_dw.cpp
+++ b/src/ports/SkTypeface_win_dw.cpp
@@ -239,11 +239,11 @@ SkStreamAsset* DWriteFontTypeface::onOpenStream(int* ttcIndex) const {
&fontFileStream),
"Could not create font file stream.");
- return SkNEW_ARGS(SkDWriteFontFileStream, (fontFileStream.get()));
+ return new SkDWriteFontFileStream(fontFileStream.get());
}
SkScalerContext* DWriteFontTypeface::onCreateScalerContext(const SkDescriptor* desc) const {
- return SkNEW_ARGS(SkScalerContext_DW, (const_cast<DWriteFontTypeface*>(this), desc));
+ return new SkScalerContext_DW(const_cast<DWriteFontTypeface*>(this), desc);
}
void DWriteFontTypeface::onFilterRec(SkScalerContext::Rec* rec) const {
« no previous file with comments | « src/ports/SkTypeface_win_dw.h ('k') | src/svg/SkSVGCanvas.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698