Index: Source/platform/heap/HeapAllocator.h |
diff --git a/Source/platform/heap/HeapAllocator.h b/Source/platform/heap/HeapAllocator.h |
index b328dbdc593ca4ae56e561fbd74c8143c0252dd9..a79b34c1776101e2eea258e7d1564f937ee3c3ec 100644 |
--- a/Source/platform/heap/HeapAllocator.h |
+++ b/Source/platform/heap/HeapAllocator.h |
@@ -408,27 +408,15 @@ public: |
HeapDeque<T, 0>& operator=(const HeapDeque& other) |
{ |
HeapDeque<T> copy(other); |
- swap(copy); |
+ Deque<T, inlineCapacity, HeapAllocator>::swap(copy); |
return *this; |
} |
- // FIXME: Doesn't work if there is an inline buffer, due to crbug.com/360572 |
- void swap(HeapDeque& other) |
- { |
- Deque<T, inlineCapacity, HeapAllocator>::swap(other); |
- } |
- |
template<size_t otherCapacity> |
HeapDeque(const HeapDeque<T, otherCapacity>& other) |
: Deque<T, inlineCapacity, HeapAllocator>(other) |
{ |
} |
- |
- template<typename U> |
- void append(const U& other) |
- { |
- Deque<T, inlineCapacity, HeapAllocator>::append(other); |
- } |
}; |
template<typename T, size_t i> |