Index: src/utils/win/SkDWriteFontFileStream.cpp |
diff --git a/src/utils/win/SkDWriteFontFileStream.cpp b/src/utils/win/SkDWriteFontFileStream.cpp |
index 5569db5ac177fb02b8d3c7c32c279eb8ed9d048e..809ae7bd9a2f2eb669a791f117a177e7753a8a9d 100644 |
--- a/src/utils/win/SkDWriteFontFileStream.cpp |
+++ b/src/utils/win/SkDWriteFontFileStream.cpp |
@@ -103,7 +103,7 @@ bool SkDWriteFontFileStream::move(long offset) { |
} |
SkDWriteFontFileStream* SkDWriteFontFileStream::fork() const { |
- SkAutoTUnref<SkDWriteFontFileStream> that(this->duplicate()); |
+ SkAutoTDelete<SkDWriteFontFileStream> that(this->duplicate()); |
that->seek(fPos); |
return that.detach(); |
} |