Index: src/core/SkPaint.cpp |
diff --git a/src/core/SkPaint.cpp b/src/core/SkPaint.cpp |
index f1d5ab6468084b9fbd71a4b379da1d3836ed4505..0bd641f15f0a11ab25f2189d9d68743e83044b7d 100644 |
--- a/src/core/SkPaint.cpp |
+++ b/src/core/SkPaint.cpp |
@@ -2084,7 +2084,7 @@ void SkPaint::toString(SkString* str) const { |
if (typeface) { |
SkDynamicMemoryWStream ostream; |
typeface->serialize(&ostream); |
- SkAutoTUnref<SkStreamAsset> istream(ostream.detachAsStream()); |
+ SkAutoTDelete<SkStreamAsset> istream(ostream.detachAsStream()); |
SkFontDescriptor descriptor(istream); |
str->append("<dt>Font Family Name:</dt><dd>"); |