Index: Source/core/loader/ThreadableLoader.h |
diff --git a/Source/core/loader/ThreadableLoader.h b/Source/core/loader/ThreadableLoader.h |
index e48f842e36da137ccf8d532a5c563034211af258..c45d4309225682cdd278d0882549f5b5fad558eb 100644 |
--- a/Source/core/loader/ThreadableLoader.h |
+++ b/Source/core/loader/ThreadableLoader.h |
@@ -34,6 +34,7 @@ |
#include "core/CoreExport.h" |
#include "core/fetch/ResourceLoaderOptions.h" |
#include "platform/CrossThreadCopier.h" |
+#include "wtf/Allocator.h" |
#include "wtf/Noncopyable.h" |
#include "wtf/PassRefPtr.h" |
#include "wtf/RefCounted.h" |
@@ -63,6 +64,7 @@ enum ContentSecurityPolicyEnforcement { |
}; |
struct ThreadableLoaderOptions { |
+ DISALLOW_ALLOCATION(); |
ThreadableLoaderOptions() |
: preflightPolicy(ConsiderPreflight) |
, crossOriginRequestPolicy(DenyCrossOriginRequests) |
@@ -80,6 +82,7 @@ struct ThreadableLoaderOptions { |
// Encode AtomicString as String to cross threads. |
struct CrossThreadThreadableLoaderOptionsData { |
+ STACK_ALLOCATED(); |
explicit CrossThreadThreadableLoaderOptionsData(const ThreadableLoaderOptions& options) |
: preflightPolicy(options.preflightPolicy) |
, crossOriginRequestPolicy(options.crossOriginRequestPolicy) |