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

Unified Diff: third_party/WebKit/Source/wtf/Deque.h

Issue 1425533005: Rename DefaultAllocator to PartitionAllocator (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 2 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 | « third_party/WebKit/Source/wtf/DefaultAllocator.cpp ('k') | third_party/WebKit/Source/wtf/HashCountedSet.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/wtf/Deque.h
diff --git a/third_party/WebKit/Source/wtf/Deque.h b/third_party/WebKit/Source/wtf/Deque.h
index 37f5c9e852d09f4b6ca485da38a0b1ffeed47c1c..761435a6323cf3b36f5514bea4f762539bca9302 100644
--- a/third_party/WebKit/Source/wtf/Deque.h
+++ b/third_party/WebKit/Source/wtf/Deque.h
@@ -43,7 +43,7 @@ template <typename T, size_t inlineCapacity, typename Allocator> class DequeIter
template <typename T, size_t inlineCapacity, typename Allocator> class DequeIterator;
template <typename T, size_t inlineCapacity, typename Allocator> class DequeConstIterator;
-template <typename T, size_t inlineCapacity = 0, typename Allocator = DefaultAllocator>
+template <typename T, size_t inlineCapacity = 0, typename Allocator = PartitionAllocator>
class Deque : public ConditionalDestructor<Deque<T, INLINE_CAPACITY, Allocator>, (INLINE_CAPACITY == 0) && Allocator::isGarbageCollected> {
WTF_USE_ALLOCATOR(Deque, Allocator);
public:
@@ -158,7 +158,7 @@ private:
friend class Deque<T, inlineCapacity, Allocator>;
};
-template <typename T, size_t inlineCapacity = 0, typename Allocator = DefaultAllocator>
+template <typename T, size_t inlineCapacity = 0, typename Allocator = PartitionAllocator>
class DequeIterator : public DequeIteratorBase<T, inlineCapacity, Allocator> {
private:
typedef DequeIteratorBase<T, inlineCapacity, Allocator> Base;
@@ -188,7 +188,7 @@ public:
// postfix -- intentionally omitted
};
-template <typename T, size_t inlineCapacity = 0, typename Allocator = DefaultAllocator>
+template <typename T, size_t inlineCapacity = 0, typename Allocator = PartitionAllocator>
class DequeConstIterator : public DequeIteratorBase<T, inlineCapacity, Allocator> {
private:
typedef DequeIteratorBase<T, inlineCapacity, Allocator> Base;
« no previous file with comments | « third_party/WebKit/Source/wtf/DefaultAllocator.cpp ('k') | third_party/WebKit/Source/wtf/HashCountedSet.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698