Index: src/core/SkAdvancedTypefaceMetrics.cpp |
diff --git a/src/core/SkAdvancedTypefaceMetrics.cpp b/src/core/SkAdvancedTypefaceMetrics.cpp |
index 28079f98e9b1932c9308d13618cba83bc0a39fdc..b5b49e3ac5029aeba9a954c25ba5d4762c933a6d 100644 |
--- a/src/core/SkAdvancedTypefaceMetrics.cpp |
+++ b/src/core/SkAdvancedTypefaceMetrics.cpp |
@@ -245,7 +245,7 @@ |
if (curRange->fStartId == lastIndex) { |
SkASSERT(prevRange); |
SkASSERT(prevRange->fNext->fStartId == lastIndex); |
- prevRange->fNext.reset(); |
+ prevRange->fNext.free(); |
} else { |
finishRange(curRange, lastIndex - 1, |
SkAdvancedTypefaceMetrics::WidthRange::kRange); |