| Index: cc/base/list_container.h
|
| diff --git a/cc/base/list_container.h b/cc/base/list_container.h
|
| index 7cccc6707c4e67ad51af61e045119eace5866ffb..ae7afa92e5b5999c8a124c418ff9b33a90028115 100644
|
| --- a/cc/base/list_container.h
|
| +++ b/cc/base/list_container.h
|
| @@ -163,6 +163,8 @@ class CC_EXPORT ListContainerBase {
|
|
|
| size_t MaxSizeForDerivedClass() const;
|
|
|
| + size_t GetCapacityInBytes() const;
|
| +
|
| // Unlike the ListContainer method, this one does not invoke element
|
| // destructors.
|
| void clear();
|
| @@ -310,6 +312,7 @@ class ListContainer : public ListContainerBase {
|
|
|
| using ListContainerBase::size;
|
| using ListContainerBase::empty;
|
| + using ListContainerBase::GetCapacityInBytes;
|
|
|
| void clear() {
|
| for (Iterator i = begin(); i != end(); ++i) {
|
|
|