Index: Source/core/fetch/ResourceClientWalker.h |
diff --git a/Source/core/fetch/ResourceClientWalker.h b/Source/core/fetch/ResourceClientWalker.h |
index 3f35eca9dacde177a12cfeebc2c48e8cd790ed47..20d49659d9710c450c457e4e1bfcc06a14ddd9ff 100644 |
--- a/Source/core/fetch/ResourceClientWalker.h |
+++ b/Source/core/fetch/ResourceClientWalker.h |
@@ -26,6 +26,7 @@ |
#define ResourceClientWalker_h |
#include "core/fetch/ResourceClient.h" |
+#include "wtf/Allocator.h" |
#include "wtf/HashCountedSet.h" |
#include "wtf/Vector.h" |
@@ -34,6 +35,7 @@ namespace blink { |
// Call this "walker" instead of iterator so people won't expect Qt or STL-style iterator interface. |
// Just keep calling next() on this. It's safe from deletions of items. |
template<typename T> class ResourceClientWalker { |
+ STACK_ALLOCATED(); |
public: |
ResourceClientWalker(const HashCountedSet<ResourceClient*>& set) |
: m_clientSet(set), m_clientVector(set.size()), m_index(0) |