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

Unified Diff: third_party/WebKit/Source/wtf/HashCountedSet.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/HashCountedSet.h
diff --git a/third_party/WebKit/Source/wtf/HashCountedSet.h b/third_party/WebKit/Source/wtf/HashCountedSet.h
index fc60257d7e8ec265aed82e8e203bc9a9cff0ec14..5b2c9b0fee1d2e67e9edbb2d5f6abebc9e95d448 100644
--- a/third_party/WebKit/Source/wtf/HashCountedSet.h
+++ b/third_party/WebKit/Source/wtf/HashCountedSet.h
@@ -21,6 +21,7 @@
#ifndef WTF_HashCountedSet_h
#define WTF_HashCountedSet_h
+#include "base/allocator/partition_allocator/partition_allocator.h"
#include "wtf/Assertions.h"
#include "wtf/HashMap.h"
#include "wtf/Vector.h"
@@ -33,9 +34,9 @@ namespace WTF {
template <typename Value,
typename HashFunctions = typename DefaultHash<Value>::Hash,
typename Traits = HashTraits<Value>,
- typename Allocator = PartitionAllocator>
+ typename Allocator = base::PartitionAllocator>
class HashCountedSet {
- WTF_USE_ALLOCATOR(HashCountedSet, Allocator);
+ USE_ALLOCATOR(HashCountedSet, Allocator);
WTF_MAKE_NONCOPYABLE(HashCountedSet);
private:

Powered by Google App Engine
This is Rietveld 408576698