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