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

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

Issue 2518253002: Move Partition Allocator into Chromium base. (Closed)
Patch Set: Move OOM_CRASH into its own, more specific header. Fixes Windows build. Created 4 years 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 6e0db4ed11ccb3b1d315935da70aaa882dd81941..272fb9bc00ea70608dc24714c13d37f0654bcc63 100644
--- a/third_party/WebKit/Source/wtf/HashCountedSet.h
+++ b/third_party/WebKit/Source/wtf/HashCountedSet.h
@@ -24,6 +24,7 @@
#include "wtf/Assertions.h"
#include "wtf/HashMap.h"
#include "wtf/Vector.h"
+#include "wtf/allocator/PartitionAllocator.h"
namespace WTF {
@@ -35,7 +36,7 @@ template <typename Value,
typename Traits = HashTraits<Value>,
typename Allocator = 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