Index: Source/core/html/parser/XSSAuditor.h |
diff --git a/Source/core/html/parser/XSSAuditor.h b/Source/core/html/parser/XSSAuditor.h |
index 79bf69fcfecdab45f90b65ccd68606e24e805299..b50f28a88d8863d9faa2704e1eef002dd744e934 100644 |
--- a/Source/core/html/parser/XSSAuditor.h |
+++ b/Source/core/html/parser/XSSAuditor.h |
@@ -30,6 +30,7 @@ |
#include "platform/network/HTTPParsers.h" |
#include "platform/text/SuffixTree.h" |
#include "platform/weborigin/KURL.h" |
+#include "wtf/Allocator.h" |
#include "wtf/PassOwnPtr.h" |
#include "wtf/text/TextEncoding.h" |
@@ -41,6 +42,7 @@ class XSSInfo; |
class XSSAuditorDelegate; |
struct FilterTokenRequest { |
+ STACK_ALLOCATED(); |
FilterTokenRequest(HTMLToken& token, HTMLSourceTracker& sourceTracker, bool shouldAllowCDATA) |
: token(token) |
, sourceTracker(sourceTracker) |
@@ -53,6 +55,7 @@ struct FilterTokenRequest { |
}; |
class XSSAuditor { |
+ WTF_MAKE_FAST_ALLOCATED(XSSAuditor); |
WTF_MAKE_NONCOPYABLE(XSSAuditor); |
public: |
XSSAuditor(); |