Index: third_party/WebKit/Source/platform/heap/HeapAllocator.h |
diff --git a/third_party/WebKit/Source/platform/heap/HeapAllocator.h b/third_party/WebKit/Source/platform/heap/HeapAllocator.h |
index 8d9527a7020fbeeff42ff1cab2ef9cddc64d5b78..2592b12bae43d596107ac88d9eddc0731f24dff8 100644 |
--- a/third_party/WebKit/Source/platform/heap/HeapAllocator.h |
+++ b/third_party/WebKit/Source/platform/heap/HeapAllocator.h |
@@ -603,6 +603,12 @@ template<typename T> struct HashTraits<blink::Persistent<T>> : HandleHashTraits< |
template<typename T> struct HashTraits<blink::CrossThreadPersistent<T>> : HandleHashTraits<T, blink::CrossThreadPersistent<T>> { }; |
+template <typename Value, typename HashFunctions, typename Traits, typename VectorType> |
+inline void copyToVector(const blink::HeapHashCountedSet<Value, HashFunctions, Traits>& set, VectorType& vector) |
+{ |
+ copyToVector(static_cast<const HashCountedSet<Value, HashFunctions, Traits, blink::HeapAllocator>&>(set), vector); |
+} |
+ |
} // namespace WTF |
#endif |