Index: src/core/SkAdvancedTypefaceMetrics.h |
diff --git a/src/core/SkAdvancedTypefaceMetrics.h b/src/core/SkAdvancedTypefaceMetrics.h |
index 5a2180fade0364d2899bf35bbb428f71fe0259fd..92655d21b23dd1d4d08d4d1244563021785b62d9 100644 |
--- a/src/core/SkAdvancedTypefaceMetrics.h |
+++ b/src/core/SkAdvancedTypefaceMetrics.h |
@@ -35,7 +35,7 @@ public: |
} |
} |
void free() { this->reset(nullptr); } |
- T* detach() { |
+ T* release() { |
T* ptr = fPtr; |
fPtr = nullptr; |
return ptr; |