| Index: third_party/WebKit/Source/wtf/ListHashSet.h
|
| diff --git a/third_party/WebKit/Source/wtf/ListHashSet.h b/third_party/WebKit/Source/wtf/ListHashSet.h
|
| index c2154d2300edf2646f59c487592ff2cae77af235..a2128b646673b7446e9fd2f8e9e72969935cf573 100644
|
| --- a/third_party/WebKit/Source/wtf/ListHashSet.h
|
| +++ b/third_party/WebKit/Source/wtf/ListHashSet.h
|
| @@ -22,9 +22,9 @@
|
| #ifndef WTF_ListHashSet_h
|
| #define WTF_ListHashSet_h
|
|
|
| -#include "wtf/DefaultAllocator.h"
|
| #include "wtf/HashSet.h"
|
| #include "wtf/OwnPtr.h"
|
| +#include "wtf/PartitionAllocator.h"
|
| #include "wtf/PassOwnPtr.h"
|
|
|
| namespace WTF {
|
| @@ -226,8 +226,8 @@ public:
|
|
|
| // This allocator is only used for non-Heap ListHashSets.
|
| template <typename ValueArg, size_t inlineCapacity>
|
| -struct ListHashSetAllocator : public DefaultAllocator {
|
| - typedef DefaultAllocator TableAllocator;
|
| +struct ListHashSetAllocator : public PartitionAllocator {
|
| + typedef PartitionAllocator TableAllocator;
|
| typedef ListHashSetNode<ValueArg, ListHashSetAllocator> Node;
|
| typedef ListHashSetNodeBase<ValueArg> NodeBase;
|
|
|
| @@ -321,7 +321,7 @@ struct ListHashSetAllocator : public DefaultAllocator {
|
| return node >= pool() && node < pastPool();
|
| }
|
|
|
| - static void traceValue(typename DefaultAllocator::Visitor* visitor, Node* node) {}
|
| + static void traceValue(typename PartitionAllocator::Visitor* visitor, Node* node) {}
|
|
|
| private:
|
| Node* pool() { return reinterpret_cast_ptr<Node*>(m_pool.buffer); }
|
|
|