Index: src/core/SkAdvancedTypefaceMetrics.cpp |
diff --git a/src/core/SkAdvancedTypefaceMetrics.cpp b/src/core/SkAdvancedTypefaceMetrics.cpp |
index 56a557c343f5113a5a5313b57f51adf65f3fd198..406a759696033a6cdfe4d09497fbd3e9c12ffcb0 100644 |
--- a/src/core/SkAdvancedTypefaceMetrics.cpp |
+++ b/src/core/SkAdvancedTypefaceMetrics.cpp |
@@ -68,9 +68,9 @@ void resetRange(SkAdvancedTypefaceMetrics::AdvanceMetric<Data>* range, |
range->fAdvance.setCount(0); |
} |
-template <typename Data> |
+template <typename Data, template<typename> class AutoTDelete> |
SkAdvancedTypefaceMetrics::AdvanceMetric<Data>* appendRange( |
- SkAutoTDelete<SkAdvancedTypefaceMetrics::AdvanceMetric<Data> >* nextSlot, |
+ AutoTDelete<SkAdvancedTypefaceMetrics::AdvanceMetric<Data> >* nextSlot, |
int startId) { |
nextSlot->reset(new SkAdvancedTypefaceMetrics::AdvanceMetric<Data>); |
resetRange(nextSlot->get(), startId); |