Chromium Code Reviews| Index: Source/heap/Heap.h |
| diff --git a/Source/heap/Heap.h b/Source/heap/Heap.h |
| index e970e62b0c80b1f165a749d4ecaab3bb9f18cd1b..3dc2080c0ab5135446c82a0d11e15fa3ebb38ab4 100644 |
| --- a/Source/heap/Heap.h |
| +++ b/Source/heap/Heap.h |
| @@ -1304,6 +1304,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) |