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

Unified Diff: third_party/WebKit/Source/wtf/HashSet.h

Issue 2518253002: Move Partition Allocator into Chromium base. (Closed)
Patch Set: Created 4 years, 1 month 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/HashSet.h
diff --git a/third_party/WebKit/Source/wtf/HashSet.h b/third_party/WebKit/Source/wtf/HashSet.h
index 72b97fcd01be40bcd511827674085712d296436d..5192051259904daa8fa05c06334064d21db975cc 100644
--- a/third_party/WebKit/Source/wtf/HashSet.h
+++ b/third_party/WebKit/Source/wtf/HashSet.h
@@ -21,8 +21,8 @@
#ifndef WTF_HashSet_h
#define WTF_HashSet_h
+#include "base/allocator/partition_allocator/partition_allocator.h"
#include "wtf/HashTable.h"
-#include "wtf/allocator/PartitionAllocator.h"
#include <initializer_list>
namespace WTF {
@@ -37,7 +37,7 @@ template <typename ValueArg,
typename TraitsArg = HashTraits<ValueArg>,
typename Allocator = PartitionAllocator>
class HashSet {
- WTF_USE_ALLOCATOR(HashSet, Allocator);
+ USE_ALLOCATOR(HashSet, Allocator);
private:
typedef HashArg HashFunctions;

Powered by Google App Engine
This is Rietveld 408576698