Chromium Code Reviews| Index: base/scoped_vector.h |
| diff --git a/base/scoped_vector.h b/base/scoped_vector.h |
| index ec152c9dc46bb24d3b3200c84c4b23bc3fbcda17..9d372f33009b613de3584fe12bd69cbface5b391 100644 |
| --- a/base/scoped_vector.h |
| +++ b/base/scoped_vector.h |
| @@ -54,6 +54,7 @@ class ScopedVector { |
| } |
| void reset() { STLDeleteElements(&v); } |
| + void reserve(size_t capacity) { v.reserve(capacity); } |
| void resize(size_t new_size) { v.resize(new_size); } |
| // Lets the ScopedVector take ownership of |x|. |