Chromium Code Reviews| Index: third_party/WebKit/Source/platform/graphics/ContiguousContainer.h |
| diff --git a/third_party/WebKit/Source/platform/graphics/ContiguousContainer.h b/third_party/WebKit/Source/platform/graphics/ContiguousContainer.h |
| index a50431becefb31c3ab4a231c74212f66ea67bf33..94921d55002cee9f6cb6e8c742c7c2a6b6f8a472 100644 |
| --- a/third_party/WebKit/Source/platform/graphics/ContiguousContainer.h |
| +++ b/third_party/WebKit/Source/platform/graphics/ContiguousContainer.h |
| @@ -59,6 +59,7 @@ protected: |
| void removeLast(); |
| void clear(); |
| void swap(ContiguousContainerBase&); |
| + void removeEmptyBuffers(); |
|
jbroman
2016/07/06 19:09:37
Mind a comment clarifying the intended use of this
Xianzhu
2016/07/06 19:29:34
Done.
|
| Vector<void*> m_elements; |
| @@ -142,6 +143,7 @@ public: |
| using ContiguousContainerBase::capacityInBytes; |
| using ContiguousContainerBase::usedCapacityInBytes; |
| using ContiguousContainerBase::memoryUsageInBytes; |
| + using ContiguousContainerBase::removeEmptyBuffers; |
| iterator begin() { return iterator(m_elements.begin()); } |
| iterator end() { return iterator(m_elements.end()); } |