Index: Source/core/html/parser/HTMLSrcsetParser.h |
diff --git a/Source/core/html/parser/HTMLSrcsetParser.h b/Source/core/html/parser/HTMLSrcsetParser.h |
index 62a3ce422c9f4285f9f0dc662fbde115de0c6714..ddcd90774b946398d68e2dc3f16f44fbc15481ec 100644 |
--- a/Source/core/html/parser/HTMLSrcsetParser.h |
+++ b/Source/core/html/parser/HTMLSrcsetParser.h |
@@ -33,6 +33,7 @@ |
#define HTMLSrcsetParser_h |
#include "core/CoreExport.h" |
+#include "wtf/Allocator.h" |
#include "wtf/text/WTFString.h" |
namespace blink { |
@@ -42,6 +43,7 @@ class Document; |
enum { UninitializedDescriptor = -1 }; |
class DescriptorParsingResult { |
+ STACK_ALLOCATED(); |
public: |
DescriptorParsingResult() |
: m_density(UninitializedDescriptor) |
@@ -69,6 +71,7 @@ private: |
}; |
class ImageCandidate { |
+ ALLOW_ONLY_INLINE_ALLOCATION(); |
public: |
enum OriginAttribute { |
SrcsetOrigin, |