Chromium Code Reviews| Index: Source/heap/Heap.h |
| diff --git a/Source/heap/Heap.h b/Source/heap/Heap.h |
| index 9df1a592aaa496061573d2c502059623a29db5d4..45d61cd412422a554f8765faeae9ca2105307bda 100644 |
| --- a/Source/heap/Heap.h |
| +++ b/Source/heap/Heap.h |
| @@ -1322,6 +1322,10 @@ public: |
| { |
| } |
| + HeapVector(size_t size, const T& val) : Vector<T, inlineCapacity, HeapAllocator>(size, val) |
| + { |
| + } |
| + |
| template<size_t otherCapacity> |
| HeapVector(const HeapVector<T, otherCapacity>& other) |
| : Vector<T, inlineCapacity, HeapAllocator>(other) |