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

Unified Diff: third_party/WebKit/Source/wtf/HashMap.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/HashMap.h
diff --git a/third_party/WebKit/Source/wtf/HashMap.h b/third_party/WebKit/Source/wtf/HashMap.h
index b6f381d77f1bdaf378a7c0511654784c2a181664..a14afb5c78c8dbc7bafff8b282819371d4564fb5 100644
--- a/third_party/WebKit/Source/wtf/HashMap.h
+++ b/third_party/WebKit/Source/wtf/HashMap.h
@@ -21,8 +21,8 @@
#ifndef WTF_HashMap_h
#define WTF_HashMap_h
+#include "base/allocator/partition_allocator/partition_allocator.h"
#include "wtf/HashTable.h"
-#include "wtf/allocator/PartitionAllocator.h"
namespace WTF {
@@ -47,7 +47,7 @@ template <typename KeyArg,
typename MappedTraitsArg = HashTraits<MappedArg>,
typename Allocator = PartitionAllocator>
class HashMap {
- WTF_USE_ALLOCATOR(HashMap, Allocator);
+ USE_ALLOCATOR(HashMap, Allocator);
private:
typedef KeyTraitsArg KeyTraits;

Powered by Google App Engine
This is Rietveld 408576698