Commit 14351741 authored by Jeremy Roman's avatar Jeremy Roman Committed by Commit Bot

Fix VectorTraits<HeapVector<>> after great rename.

canMoveWithMemset was renamed to kCanMoveWithMemset, etc. These were left behind.

Change-Id: Id3b56a99d1890ee3b69dadc9c53d7ae9abf40147
Reviewed-on: https://chromium-review.googlesource.com/581387Reviewed-by: default avatarKentaro Hara <haraken@chromium.org>
Commit-Queue: Jeremy Roman <jbroman@chromium.org>
Cr-Commit-Position: refs/heads/master@{#488731}
parent 9ec90197
...@@ -576,24 +576,24 @@ template <typename T, size_t inlineCapacity> ...@@ -576,24 +576,24 @@ template <typename T, size_t inlineCapacity>
struct VectorTraits<blink::HeapVector<T, inlineCapacity>> struct VectorTraits<blink::HeapVector<T, inlineCapacity>>
: VectorTraitsBase<blink::HeapVector<T, inlineCapacity>> { : VectorTraitsBase<blink::HeapVector<T, inlineCapacity>> {
STATIC_ONLY(VectorTraits); STATIC_ONLY(VectorTraits);
static const bool kNeedsDestruction = VectorTraits<T>::needsDestruction; static const bool kNeedsDestruction = VectorTraits<T>::kNeedsDestruction;
static const bool kCanInitializeWithMemset = static const bool kCanInitializeWithMemset =
VectorTraits<T>::canInitializeWithMemset; VectorTraits<T>::kCanInitializeWithMemset;
static const bool kCanClearUnusedSlotsWithMemset = static const bool kCanClearUnusedSlotsWithMemset =
VectorTraits<T>::canClearUnusedSlotsWithMemset; VectorTraits<T>::kCanClearUnusedSlotsWithMemset;
static const bool kCanMoveWithMemcpy = VectorTraits<T>::canMoveWithMemcpy; static const bool kCanMoveWithMemcpy = VectorTraits<T>::kCanMoveWithMemcpy;
}; };
template <typename T, size_t inlineCapacity> template <typename T, size_t inlineCapacity>
struct VectorTraits<blink::HeapDeque<T, inlineCapacity>> struct VectorTraits<blink::HeapDeque<T, inlineCapacity>>
: VectorTraitsBase<blink::HeapDeque<T, inlineCapacity>> { : VectorTraitsBase<blink::HeapDeque<T, inlineCapacity>> {
STATIC_ONLY(VectorTraits); STATIC_ONLY(VectorTraits);
static const bool kNeedsDestruction = VectorTraits<T>::needsDestruction; static const bool kNeedsDestruction = VectorTraits<T>::kNeedsDestruction;
static const bool kCanInitializeWithMemset = static const bool kCanInitializeWithMemset =
VectorTraits<T>::canInitializeWithMemset; VectorTraits<T>::kCanInitializeWithMemset;
static const bool kCanClearUnusedSlotsWithMemset = static const bool kCanClearUnusedSlotsWithMemset =
VectorTraits<T>::canClearUnusedSlotsWithMemset; VectorTraits<T>::kCanClearUnusedSlotsWithMemset;
static const bool kCanMoveWithMemcpy = VectorTraits<T>::canMoveWithMemcpy; static const bool kCanMoveWithMemcpy = VectorTraits<T>::kCanMoveWithMemcpy;
}; };
template <typename T> template <typename T>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment