Index: third_party/WebKit/Source/platform/heap/HeapLinkedStack.h |
diff --git a/third_party/WebKit/Source/platform/heap/HeapLinkedStack.h b/third_party/WebKit/Source/platform/heap/HeapLinkedStack.h |
index e91df969b5747587e3513b70d6fd219f47b0aed4..23bdcfe4e52818542c45239b7f3828467010cece 100644 |
--- a/third_party/WebKit/Source/platform/heap/HeapLinkedStack.h |
+++ b/third_party/WebKit/Source/platform/heap/HeapLinkedStack.h |
@@ -37,6 +37,12 @@ |
namespace blink { |
+// HeapLinkedStack<> is an Oilpan-managed stack that avoids pre-allocation |
+// of memory and heap fragmentation. |
+// |
+// The API was originally implemented on the call stack by LinkedStack<> |
+// (now removed: https://codereview.chromium.org/2761853003/). |
+// See https://codereview.chromium.org/17314010 for the original use-case. |
template <typename T> |
class HeapLinkedStack : public GarbageCollected<HeapLinkedStack<T>> { |
public: |