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

Unified Diff: third_party/WebKit/Source/wtf/PartitionAllocator.cpp

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/PartitionAllocator.h ('k') | third_party/WebKit/Source/wtf/Partitions.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/wtf/PartitionAllocator.cpp
diff --git a/third_party/WebKit/Source/wtf/DefaultAllocator.cpp b/third_party/WebKit/Source/wtf/PartitionAllocator.cpp
similarity index 89%
rename from third_party/WebKit/Source/wtf/DefaultAllocator.cpp
rename to third_party/WebKit/Source/wtf/PartitionAllocator.cpp
index e0f53243f0a51fb8f85a8ef010c38208f8135bdb..2befd349f15c99fbc1ea1b4874e880e63f195cc2 100644
--- a/third_party/WebKit/Source/wtf/DefaultAllocator.cpp
+++ b/third_party/WebKit/Source/wtf/PartitionAllocator.cpp
@@ -29,24 +29,24 @@
*/
#include "config.h"
-#include "wtf/DefaultAllocator.h"
+#include "wtf/PartitionAllocator.h"
#include "wtf/PartitionAlloc.h"
#include "wtf/Partitions.h"
namespace WTF {
-void* DefaultAllocator::allocateBacking(size_t size)
+void* PartitionAllocator::allocateBacking(size_t size)
{
return Partitions::bufferMalloc(size);
}
-void DefaultAllocator::freeVectorBacking(void* address)
+void PartitionAllocator::freeVectorBacking(void* address)
{
Partitions::bufferFree(address);
}
-void DefaultAllocator::freeHashTableBacking(void* address)
+void PartitionAllocator::freeHashTableBacking(void* address)
{
Partitions::bufferFree(address);
}
« no previous file with comments | « third_party/WebKit/Source/wtf/PartitionAllocator.h ('k') | third_party/WebKit/Source/wtf/Partitions.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698