Index: third_party/WebKit/Source/wtf/Vector.h |
diff --git a/third_party/WebKit/Source/wtf/Vector.h b/third_party/WebKit/Source/wtf/Vector.h |
index 0050854e6daad097fb8ba5cf431a08f2e5a78e3b..91c8d330142b69d03694d55cc3ab0ff3c4411e0e 100644 |
--- a/third_party/WebKit/Source/wtf/Vector.h |
+++ b/third_party/WebKit/Source/wtf/Vector.h |
@@ -21,6 +21,7 @@ |
#ifndef WTF_Vector_h |
#define WTF_Vector_h |
+#include "base/allocator/partition_allocator/partition_allocator.h" |
#include "wtf/Alignment.h" |
#include "wtf/ConditionalDestructor.h" |
#include "wtf/ContainerAnnotations.h" |
@@ -28,7 +29,6 @@ |
#include "wtf/NotFound.h" |
#include "wtf/StdLibExtras.h" |
#include "wtf/VectorTraits.h" |
-#include "wtf/allocator/PartitionAllocator.h" |
#include <algorithm> |
#include <initializer_list> |
#include <iterator> |
@@ -797,7 +797,7 @@ class Vector |
public ConditionalDestructor<Vector<T, INLINE_CAPACITY, Allocator>, |
(INLINE_CAPACITY == 0) && |
Allocator::isGarbageCollected> { |
- WTF_USE_ALLOCATOR(Vector, Allocator); |
+ USE_ALLOCATOR(Vector, Allocator); |
using Base = VectorBuffer<T, INLINE_CAPACITY, Allocator>; |
using TypeOperations = VectorTypeOperations<T>; |
using OffsetRange = typename Base::OffsetRange; |