| Index: third_party/WebKit/Source/wtf/PartitionAllocator.cpp
|
| diff --git a/third_party/WebKit/Source/wtf/PartitionAllocator.cpp b/third_party/WebKit/Source/wtf/PartitionAllocator.cpp
|
| index 053d1ef3a67762fcf4cd6eb885d510f08174bc18..d5f0216a8c4e114f1ead0a20ccd294e7db5fd73b 100644
|
| --- a/third_party/WebKit/Source/wtf/PartitionAllocator.cpp
|
| +++ b/third_party/WebKit/Source/wtf/PartitionAllocator.cpp
|
| @@ -35,31 +35,26 @@
|
|
|
| namespace WTF {
|
|
|
| -void* PartitionAllocator::allocateBacking(size_t size, const char* typeName)
|
| -{
|
| - return Partitions::bufferMalloc(size, typeName);
|
| +void* PartitionAllocator::allocateBacking(size_t size, const char* typeName) {
|
| + return Partitions::bufferMalloc(size, typeName);
|
| }
|
|
|
| -void PartitionAllocator::freeVectorBacking(void* address)
|
| -{
|
| - Partitions::bufferFree(address);
|
| +void PartitionAllocator::freeVectorBacking(void* address) {
|
| + Partitions::bufferFree(address);
|
| }
|
|
|
| -void PartitionAllocator::freeHashTableBacking(void* address)
|
| -{
|
| - Partitions::bufferFree(address);
|
| +void PartitionAllocator::freeHashTableBacking(void* address) {
|
| + Partitions::bufferFree(address);
|
| }
|
|
|
| template <>
|
| -char* PartitionAllocator::allocateVectorBacking<char>(size_t size)
|
| -{
|
| +char* PartitionAllocator::allocateVectorBacking<char>(size_t size) {
|
| return reinterpret_cast<char*>(allocateBacking(size, "char"));
|
| }
|
|
|
| template <>
|
| -char* PartitionAllocator::allocateExpandedVectorBacking<char>(size_t size)
|
| -{
|
| +char* PartitionAllocator::allocateExpandedVectorBacking<char>(size_t size) {
|
| return reinterpret_cast<char*>(allocateBacking(size, "char"));
|
| }
|
|
|
| -} // namespace WTF
|
| +} // namespace WTF
|
|
|