Chromium Code Reviews| Index: src/list-inl.h |
| diff --git a/src/list-inl.h b/src/list-inl.h |
| index 9a2d11f96aae5481956de81b58428fceb1aa8381..9a71f246be83dbcfa4a6c2c5e0040c59d9f590f7 100644 |
| --- a/src/list-inl.h |
| +++ b/src/list-inl.h |
| @@ -142,11 +142,6 @@ void List<T, P>::Allocate(int length, P allocator) { |
| template<typename T, class P> |
| void List<T, P>::Clear() { |
|
jgruber
2016/10/04 11:23:32
Is this left over from local experiments? Clear sh
|
| - DeleteData(data_); |
| - // We don't call Initialize(0) since that requires passing a Zone, |
| - // which we don't really need. |
| - data_ = NULL; |
| - capacity_ = 0; |
| length_ = 0; |
| } |