Index: Source/core/fetch/ResourcePtr.h |
diff --git a/Source/core/fetch/ResourcePtr.h b/Source/core/fetch/ResourcePtr.h |
index f52c55278987a0df79e9ebf21c57e4e86084a606..2f21fb6ad1725fdfda00ff403f0d0e78bf681f1e 100644 |
--- a/Source/core/fetch/ResourcePtr.h |
+++ b/Source/core/fetch/ResourcePtr.h |
@@ -28,10 +28,12 @@ |
#include "core/CoreExport.h" |
#include "core/fetch/Resource.h" |
+#include "wtf/Allocator.h" |
namespace blink { |
class CORE_EXPORT ResourcePtrBase { |
+ ALLOW_ONLY_INLINE_ALLOCATION(); |
public: |
Resource* get() const { return m_resource; } |
bool operator!() const { return !m_resource; } |