Chromium Code Reviews| Index: include/private/SkTDArray.h |
| diff --git a/include/private/SkTDArray.h b/include/private/SkTDArray.h |
| index b5332a2cc4aa26d3648ed869c81c0063195dcd9b..8af54bbcc5bb58382ff739201999ad1d40f93bfc 100644 |
| --- a/include/private/SkTDArray.h |
| +++ b/include/private/SkTDArray.h |
| @@ -70,7 +70,7 @@ public: |
| /** Return a ptr to the array of data, to be freed with sk_free. This also |
| resets the SkTDArray to be empty. |
| */ |
| - T* detach() { |
| + T* release() { |
| T* array = fArray; |
| fArray = NULL; |
| fReserve = fCount = 0; |