Index: src/utils/win/SkDWriteFontFileStream.cpp |
diff --git a/src/utils/win/SkDWriteFontFileStream.cpp b/src/utils/win/SkDWriteFontFileStream.cpp |
index a18760111c0e36239443a8f50d9ea3e59997df81..eb7e5dccafdf3be0ece722892cf823cfe9678629 100644 |
--- a/src/utils/win/SkDWriteFontFileStream.cpp |
+++ b/src/utils/win/SkDWriteFontFileStream.cpp |
@@ -85,7 +85,7 @@ bool SkDWriteFontFileStream::rewind() { |
} |
SkDWriteFontFileStream* SkDWriteFontFileStream::duplicate() const { |
- return SkNEW_ARGS(SkDWriteFontFileStream, (fFontFileStream.get())); |
+ return new SkDWriteFontFileStream(fFontFileStream.get()); |
} |
size_t SkDWriteFontFileStream::getPosition() const { |