Index: Source/wtf/HashTraits.h |
diff --git a/Source/wtf/HashTraits.h b/Source/wtf/HashTraits.h |
index b9a258b4fb400db85ecb73b8ecde76c368e89836..92a08044d6bd2ed7c9a932efdf84f6cb4152d072 100644 |
--- a/Source/wtf/HashTraits.h |
+++ b/Source/wtf/HashTraits.h |
@@ -191,16 +191,16 @@ namespace WTF { |
static bool isEmptyValue(const RawPtr<T>& value) { return !value; } |
static const bool needsDestruction = false; |
- typedef T* PeekInType; |
- typedef T* PassInType; |
+ typedef RawPtr<T> PeekInType; |
+ typedef RawPtr<T> PassInType; |
typedef RawPtr<T>* IteratorGetType; |
typedef const RawPtr<T>* IteratorConstGetType; |
typedef RawPtr<T>& IteratorReferenceType; |
typedef T* const IteratorConstReferenceType; |
static IteratorReferenceType getToReferenceConversion(IteratorGetType x) { return *x; } |
static IteratorConstReferenceType getToReferenceConstConversion(IteratorConstGetType x) { return x->get(); } |
- typedef T* PeekOutType; |
- typedef T* PassOutType; |
+ typedef RawPtr<T> PeekOutType; |
+ typedef RawPtr<T> PassOutType; |
template<typename U> |
static void store(const U& value, RawPtr<T>& storage) { storage = value; } |