| Index: Source/platform/heap/HeapAllocator.h
|
| diff --git a/Source/platform/heap/HeapAllocator.h b/Source/platform/heap/HeapAllocator.h
|
| index b852f8efded7ba93e98e971188c8b8d90d8ba9ef..92b30ef1169f684c3ce96239ea0cfcbc04c0e366 100644
|
| --- a/Source/platform/heap/HeapAllocator.h
|
| +++ b/Source/platform/heap/HeapAllocator.h
|
| @@ -279,7 +279,7 @@ void HeapVectorBacking<T, Traits>::finalize(void* pointer)
|
| {
|
| static_assert(Traits::needsDestruction, "Only vector buffers with items requiring destruction should be finalized");
|
| // See the comment in HeapVectorBacking::trace.
|
| - static_assert(Traits::canInitializeWithMemset || WTF::IsPolymorphic<T>::value, "HeapVectorBacking doesn't support objects that cannot be initialized with memset or don't have a vtable");
|
| + static_assert(Traits::canClearUnusedSlotsWithMemset || WTF::IsPolymorphic<T>::value, "HeapVectorBacking doesn't support objects that cannot be cleared as unused with memset or don't have a vtable");
|
|
|
| ASSERT(!WTF::IsTriviallyDestructible<T>::value);
|
| HeapObjectHeader* header = HeapObjectHeader::fromPayload(pointer);
|
|
|