| Index: Source/heap/Heap.h
|
| diff --git a/Source/heap/Heap.h b/Source/heap/Heap.h
|
| index 84e4be823a283a0b2c8bbc65eb8630d03f71d8f7..e7acda77a6d26f06f5543591e56764ff978b47fc 100644
|
| --- a/Source/heap/Heap.h
|
| +++ b/Source/heap/Heap.h
|
| @@ -1361,6 +1361,13 @@ struct ThreadingTrait<HashMap<Key, Value, HeapAllocator, T, U, V> > {
|
| && (ThreadingTrait<Value>::Affinity == MainThreadOnly) ? MainThreadOnly : AnyThread;
|
| };
|
|
|
| +template<typename First, typename Second>
|
| +struct ThreadingTrait<WTF::KeyValuePair<First, Second> > {
|
| + static const ThreadAffinity Affinity =
|
| + (ThreadingTrait<First>::Affinity == MainThreadOnly)
|
| + && (ThreadingTrait<Second>::Affinity == MainThreadOnly) ? MainThreadOnly : AnyThread;
|
| +};
|
| +
|
| template<typename T, typename U, typename V>
|
| struct ThreadingTrait<HashSet<T, HeapAllocator, U, V> > {
|
| static const ThreadAffinity Affinity = ThreadingTrait<T>::Affinity;
|
|
|