Upstream version 5.34.104.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / Source / wtf / HashTraits.h
index 5a763e8..1e1c59d 100644 (file)
@@ -143,10 +143,10 @@ namespace WTF {
         static EmptyValueType emptyValue() { return nullptr; }
 
         typedef const OwnPtr<P>& PeekInType;
-        typedef P* IteratorGetType;
-        typedef const P* IteratorConstGetType;
-        typedef P& IteratorReferenceType;
-        typedef const P& IteratorConstReferenceType;
+        typedef typename OwnPtr<P>::PtrType IteratorGetType;
+        typedef const IteratorGetType IteratorConstGetType;
+        typedef typename OwnPtr<P>::ValueType& IteratorReferenceType;
+        typedef const IteratorReferenceType IteratorConstReferenceType;
         static IteratorReferenceType getToReferenceConversion(IteratorGetType x) { return *x; }
         static IteratorConstReferenceType getToReferenceConstConversion(IteratorConstGetType x) { return *x; }
         typedef PassOwnPtr<P> PassInType;