Index: Source/platform/heap/Handle.h |
diff --git a/Source/platform/heap/Handle.h b/Source/platform/heap/Handle.h |
index 2bbc1f68a38160f8100b4eb454a9161e4b496fa9..4fdc0a33c15aa274b4620aa9f0d21908943f0e6c 100644 |
--- a/Source/platform/heap/Handle.h |
+++ b/Source/platform/heap/Handle.h |
@@ -1092,36 +1092,42 @@ namespace WTF { |
template <typename T> struct VectorTraits<blink::Member<T>> : VectorTraitsBase<blink::Member<T>> { |
static const bool needsDestruction = false; |
static const bool canInitializeWithMemset = true; |
+ static const bool canClearUnusedSlotsWithMemset = true; |
static const bool canMoveWithMemcpy = true; |
}; |
template <typename T> struct VectorTraits<blink::WeakMember<T>> : VectorTraitsBase<blink::WeakMember<T>> { |
static const bool needsDestruction = false; |
static const bool canInitializeWithMemset = true; |
+ static const bool canClearUnusedSlotsWithMemset = true; |
static const bool canMoveWithMemcpy = true; |
}; |
template <typename T> struct VectorTraits<blink::HeapVector<T, 0>> : VectorTraitsBase<blink::HeapVector<T, 0>> { |
static const bool needsDestruction = false; |
static const bool canInitializeWithMemset = true; |
+ static const bool canClearUnusedSlotsWithMemset = true; |
static const bool canMoveWithMemcpy = true; |
}; |
template <typename T> struct VectorTraits<blink::HeapDeque<T, 0>> : VectorTraitsBase<blink::HeapDeque<T, 0>> { |
static const bool needsDestruction = false; |
static const bool canInitializeWithMemset = true; |
+ static const bool canClearUnusedSlotsWithMemset = true; |
static const bool canMoveWithMemcpy = true; |
}; |
template <typename T, size_t inlineCapacity> struct VectorTraits<blink::HeapVector<T, inlineCapacity>> : VectorTraitsBase<blink::HeapVector<T, inlineCapacity>> { |
static const bool needsDestruction = VectorTraits<T>::needsDestruction; |
static const bool canInitializeWithMemset = VectorTraits<T>::canInitializeWithMemset; |
+ static const bool canClearUnusedSlotsWithMemset = VectorTraits<T>::canClearUnusedSlotsWithMemset; |
static const bool canMoveWithMemcpy = VectorTraits<T>::canMoveWithMemcpy; |
}; |
template <typename T, size_t inlineCapacity> struct VectorTraits<blink::HeapDeque<T, inlineCapacity>> : VectorTraitsBase<blink::HeapDeque<T, inlineCapacity>> { |
static const bool needsDestruction = VectorTraits<T>::needsDestruction; |
static const bool canInitializeWithMemset = VectorTraits<T>::canInitializeWithMemset; |
+ static const bool canClearUnusedSlotsWithMemset = VectorTraits<T>::canClearUnusedSlotsWithMemset; |
static const bool canMoveWithMemcpy = VectorTraits<T>::canMoveWithMemcpy; |
}; |