Index: Source/core/dom/AttributeCollection.h |
diff --git a/Source/core/dom/AttributeCollection.h b/Source/core/dom/AttributeCollection.h |
index 9ea2ca08a696999fd56b20c62e7689554338a4ca..467661eea7c0193783b4b580a923148b53f08afd 100644 |
--- a/Source/core/dom/AttributeCollection.h |
+++ b/Source/core/dom/AttributeCollection.h |
@@ -35,12 +35,14 @@ |
#include "core/dom/Attr.h" |
#include "core/dom/Attribute.h" |
+#include "wtf/Allocator.h" |
#include "wtf/Vector.h" |
namespace blink { |
template <typename Container, typename ContainerMemberType = Container> |
class AttributeCollectionGeneric { |
+ STACK_ALLOCATED(); |
public: |
using ValueType = typename Container::ValueType; |
using iterator = ValueType*; |
@@ -75,6 +77,7 @@ protected: |
}; |
class AttributeArray { |
+ DISALLOW_ALLOCATION(); |
public: |
using ValueType = const Attribute; |