| Index: third_party/WebKit/Source/platform/PurgeableVector.h
|
| diff --git a/third_party/WebKit/Source/platform/PurgeableVector.h b/third_party/WebKit/Source/platform/PurgeableVector.h
|
| index c1734f85c3afa45f12e575e74c6423297f32ad96..e07c61b9251aeb6c18bb9da2dabf389eaf23eab8 100644
|
| --- a/third_party/WebKit/Source/platform/PurgeableVector.h
|
| +++ b/third_party/WebKit/Source/platform/PurgeableVector.h
|
| @@ -39,6 +39,7 @@
|
| namespace blink {
|
|
|
| class WebDiscardableMemory;
|
| +class WebProcessMemoryDump;
|
|
|
| // A simple vector implementation that supports purgeable memory. The vector is
|
| // already locked at construction and locking uses an internal counter which
|
| @@ -90,6 +91,8 @@ public:
|
| // doing then you should probably not call this method.
|
| void reserveCapacity(size_t capacity);
|
|
|
| + void onMemoryDump(const String& dumpPrefix, WebProcessMemoryDump*) const;
|
| +
|
| private:
|
| enum PurgeableAllocationStrategy {
|
| UseExactCapacity,
|
|
|