Index: src/core/SkAdvancedTypefaceMetrics.cpp |
diff --git a/src/core/SkAdvancedTypefaceMetrics.cpp b/src/core/SkAdvancedTypefaceMetrics.cpp |
index 406a759696033a6cdfe4d09497fbd3e9c12ffcb0..b5b49e3ac5029aeba9a954c25ba5d4762c933a6d 100644 |
--- a/src/core/SkAdvancedTypefaceMetrics.cpp |
+++ b/src/core/SkAdvancedTypefaceMetrics.cpp |
@@ -250,7 +250,7 @@ SkAdvancedTypefaceMetrics::AdvanceMetric<Data>* getAdvanceData( |
finishRange(curRange, lastIndex - 1, |
SkAdvancedTypefaceMetrics::WidthRange::kRange); |
} |
- return result.detach(); |
+ return result.release(); |
} |
// Make AdvanceMetric template functions available for linking with typename |