summaryrefslogtreecommitdiff
path: root/chromium/third_party/blink/renderer/platform/heap/heap_allocator_impl.h
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/third_party/blink/renderer/platform/heap/heap_allocator_impl.h')
-rw-r--r--chromium/third_party/blink/renderer/platform/heap/heap_allocator_impl.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/chromium/third_party/blink/renderer/platform/heap/heap_allocator_impl.h b/chromium/third_party/blink/renderer/platform/heap/heap_allocator_impl.h
index 5e9f9a002c5..1f2771caaf4 100644
--- a/chromium/third_party/blink/renderer/platform/heap/heap_allocator_impl.h
+++ b/chromium/third_party/blink/renderer/platform/heap/heap_allocator_impl.h
@@ -65,6 +65,11 @@ class PLATFORM_EXPORT HeapAllocator {
}
template <typename T>
+ static void Free(T* array) {
+// UNREACHABLE();
+ }
+
+ template <typename T>
static bool ExpandVectorBacking(T* array, size_t new_size) {
DCHECK(array);
return HeapVectorBacking<T>::FromArray(array)->Resize(new_size);