| Index: Source/heap/Visitor.h
|
| diff --git a/Source/heap/Visitor.h b/Source/heap/Visitor.h
|
| index ad50c794456875fd0dcd649c0e418c76ba3709af..06c4c1ac5fb2e652479cdfeeceafaf5c46e3cc56 100644
|
| --- a/Source/heap/Visitor.h
|
| +++ b/Source/heap/Visitor.h
|
| @@ -31,6 +31,7 @@
|
| #ifndef Visitor_h
|
| #define Visitor_h
|
|
|
| +#include <wtf/Deque.h>
|
| #include <wtf/Forward.h>
|
| #include <wtf/HashTraits.h>
|
| #include <wtf/HashSet.h>
|
| @@ -125,9 +126,16 @@ public:
|
| }
|
|
|
| template<typename T>
|
| - void visit(const HashSet<Member<T> >& vector)
|
| + void visit(const HashSet<Member<T> >& hashSet)
|
| {
|
| - for (typename HashSet<Member<T> >::const_iterator it = vector.begin(); it != vector.end(); ++it)
|
| + for (typename HashSet<Member<T> >::const_iterator it = hashSet.begin(); it != hashSet.end(); ++it)
|
| + visit(*it);
|
| + }
|
| +
|
| + template<typename T>
|
| + void visit(const Deque<Member<T> >& deque)
|
| + {
|
| + for (typename Deque<Member<T> >::const_iterator it = deque.begin(); it != deque.end(); ++it)
|
| visit(*it);
|
| }
|
|
|
|
|