Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(6502)

Unified Diff: Source/platform/heap/Handle.h

Issue 526023003: Oilpan: use template aliases for heap version of collections. Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Speculative windows compiler crash fix. Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | Source/platform/heap/Heap.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/heap/Handle.h
diff --git a/Source/platform/heap/Handle.h b/Source/platform/heap/Handle.h
index 9b4252eb946f3836246dbe5f642d0710ba16a408..7a7fc5e59f3b5443929cac512bbb4ff8a17ca320 100644
--- a/Source/platform/heap/Handle.h
+++ b/Source/platform/heap/Handle.h
@@ -1030,25 +1030,25 @@ template <typename T> struct VectorTraits<blink::WeakMember<T> > : VectorTraitsB
static const bool canMoveWithMemcpy = true;
};
-template <typename T> struct VectorTraits<blink::HeapVector<T, 0> > : VectorTraitsBase<blink::HeapVector<T, 0> > {
+template <typename T> struct VectorTraits<Vector<T, 0, blink::HeapAllocator> > : VectorTraitsBase<Vector<T, 0, blink::HeapAllocator> > {
static const bool needsDestruction = false;
static const bool canInitializeWithMemset = true;
static const bool canMoveWithMemcpy = true;
};
-template <typename T> struct VectorTraits<blink::HeapDeque<T, 0> > : VectorTraitsBase<blink::HeapDeque<T, 0> > {
+template <typename T> struct VectorTraits<Deque<T, 0, blink::HeapAllocator> > : VectorTraitsBase<Deque<T, 0, blink::HeapAllocator> > {
static const bool needsDestruction = false;
static const bool canInitializeWithMemset = true;
static const bool canMoveWithMemcpy = true;
};
-template <typename T, size_t inlineCapacity> struct VectorTraits<blink::HeapVector<T, inlineCapacity> > : VectorTraitsBase<blink::HeapVector<T, inlineCapacity> > {
+template <typename T, size_t inlineCapacity> struct VectorTraits<Vector<T, inlineCapacity, blink::HeapAllocator> > : VectorTraitsBase<Vector<T, inlineCapacity, blink::HeapAllocator> > {
static const bool needsDestruction = VectorTraits<T>::needsDestruction;
static const bool canInitializeWithMemset = VectorTraits<T>::canInitializeWithMemset;
static const bool canMoveWithMemcpy = VectorTraits<T>::canMoveWithMemcpy;
};
-template <typename T, size_t inlineCapacity> struct VectorTraits<blink::HeapDeque<T, inlineCapacity> > : VectorTraitsBase<blink::HeapDeque<T, inlineCapacity> > {
+template <typename T, size_t inlineCapacity> struct VectorTraits<Deque<T, inlineCapacity, blink::HeapAllocator> > : VectorTraitsBase<Deque<T, inlineCapacity, blink::HeapAllocator> > {
static const bool needsDestruction = VectorTraits<T>::needsDestruction;
static const bool canInitializeWithMemset = VectorTraits<T>::canInitializeWithMemset;
static const bool canMoveWithMemcpy = VectorTraits<T>::canMoveWithMemcpy;
« no previous file with comments | « no previous file | Source/platform/heap/Heap.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698