| Index: third_party/WebKit/Source/wtf/allocator/PartitionAllocator.h
|
| diff --git a/third_party/WebKit/Source/wtf/allocator/PartitionAllocator.h b/third_party/WebKit/Source/wtf/allocator/PartitionAllocator.h
|
| index 7e2bc45185e657b4e7c10eb0027953b36a07b3a9..b81db398121937f3af3e18a829b543df376a0aa8 100644
|
| --- a/third_party/WebKit/Source/wtf/allocator/PartitionAllocator.h
|
| +++ b/third_party/WebKit/Source/wtf/allocator/PartitionAllocator.h
|
| @@ -9,12 +9,12 @@
|
| // traced, garbage collected heap. It uses FastMalloc for collections,
|
| // but uses the partition allocator for the backing store of the collections.
|
|
|
| +#include <string.h>
|
| #include "base/allocator/partition_allocator/partition_alloc.h"
|
| #include "third_party/WebKit/Source/wtf/Allocator.h"
|
| #include "wtf/Assertions.h"
|
| #include "wtf/TypeTraits.h"
|
| #include "wtf/WTFExport.h"
|
| -#include <string.h>
|
|
|
| namespace WTF {
|
|
|
| @@ -27,7 +27,7 @@ class WTF_EXPORT PartitionAllocator {
|
| typedef PartitionAllocatorDummyVisitor Visitor;
|
| static const bool isGarbageCollected = false;
|
|
|
| - template<typename T>
|
| + template <typename T>
|
| static size_t maxElementCountInBackingStore() {
|
| return base::kGenericMaxDirectMapped / sizeof(T);
|
| }
|
|
|