Chromium Code Reviews| Index: cc/base/list_container.cc |
| diff --git a/cc/base/list_container.cc b/cc/base/list_container.cc |
| index ef4d08c116faecd8033d11ff4a82a8135f290fef..33511d8af706c17e7146f72e0ea2d0cd905f3c16 100644 |
| --- a/cc/base/list_container.cc |
| +++ b/cc/base/list_container.cc |
| @@ -421,6 +421,10 @@ bool ListContainerBase::empty() const { |
| return data_->IsEmpty(); |
| } |
| +size_t ListContainerBase::MaxSizeForDerivedClass() const { |
| + return data_->element_size(); |
| +} |
| + |
| void ListContainerBase::clear() { |
| data_->Clear(); |
| } |