Index: Source/core/paint/LayoutObjectDrawingRecorder.h |
diff --git a/Source/core/paint/LayoutObjectDrawingRecorder.h b/Source/core/paint/LayoutObjectDrawingRecorder.h |
index 6438e65187fb662393470a266e728e3e07af29c8..e9fae0c49002f07299ef268b8ed6089d8bf6641a 100644 |
--- a/Source/core/paint/LayoutObjectDrawingRecorder.h |
+++ b/Source/core/paint/LayoutObjectDrawingRecorder.h |
@@ -10,6 +10,7 @@ |
#include "platform/geometry/LayoutRect.h" |
#include "platform/graphics/paint/DisplayItemCacheSkipper.h" |
#include "platform/graphics/paint/DrawingRecorder.h" |
+#include "wtf/Allocator.h" |
#include "wtf/Optional.h" |
namespace blink { |
@@ -18,6 +19,7 @@ class GraphicsContext; |
// Convenience wrapper of DrawingRecorder for LayoutObject painters. |
class LayoutObjectDrawingRecorder final { |
+ ALLOW_ONLY_INLINE_ALLOCATION(); |
public: |
static bool useCachedDrawingIfPossible(GraphicsContext& context, const LayoutObject& layoutObject, DisplayItem::Type displayItemType) |
{ |