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

Unified Diff: third_party/WebKit/Source/wtf/allocator/PartitionAllocator.h

Issue 1881983003: Move PartitionAlloc related things into wtf/allocator. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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
Index: third_party/WebKit/Source/wtf/allocator/PartitionAllocator.h
diff --git a/third_party/WebKit/Source/wtf/PartitionAllocator.h b/third_party/WebKit/Source/wtf/allocator/PartitionAllocator.h
similarity index 98%
rename from third_party/WebKit/Source/wtf/PartitionAllocator.h
rename to third_party/WebKit/Source/wtf/allocator/PartitionAllocator.h
index e3b57e5e77e4392920865c5418ecfe60aa80f3a5..438c42e7ae3df56d27afecfcd753175503d3c763 100644
--- a/third_party/WebKit/Source/wtf/PartitionAllocator.h
+++ b/third_party/WebKit/Source/wtf/allocator/PartitionAllocator.h
@@ -37,8 +37,8 @@
#include "wtf/Allocator.h"
#include "wtf/Assertions.h"
-#include "wtf/PartitionAlloc.h"
-#include "wtf/Partitions.h"
+#include "wtf/allocator/PartitionAlloc.h"
+#include "wtf/allocator/Partitions.h"
#include <string.h>
@@ -197,8 +197,8 @@ public:
// Specializations for heap profiling, so type profiling of |char| is possible
// even in official builds (because |char| makes up a large portion of the heap.)
-template <> WTF_EXPORT char* PartitionAllocator::allocateVectorBacking<char>(size_t size);
-template <> WTF_EXPORT char* PartitionAllocator::allocateExpandedVectorBacking<char>(size_t size);
+template <> WTF_EXPORT char* PartitionAllocator::allocateVectorBacking<char>(size_t);
+template <> WTF_EXPORT char* PartitionAllocator::allocateExpandedVectorBacking<char>(size_t);
} // namespace WTF

Powered by Google App Engine
This is Rietveld 408576698