Index: Source/core/paint/TextPainter.h |
diff --git a/Source/core/paint/TextPainter.h b/Source/core/paint/TextPainter.h |
index 56f080b7aa64a06fa0fcd94269123ea35b78980d..7adaa1d1de39b2df853651dd8ab9aec39c23a030 100644 |
--- a/Source/core/paint/TextPainter.h |
+++ b/Source/core/paint/TextPainter.h |
@@ -13,6 +13,7 @@ |
#include "platform/geometry/LayoutRect.h" |
#include "platform/graphics/Color.h" |
#include "platform/transforms/AffineTransform.h" |
+#include "wtf/Allocator.h" |
#include "wtf/text/AtomicString.h" |
namespace blink { |
@@ -29,6 +30,7 @@ class TextRun; |
struct TextRunPaintInfo; |
class CORE_EXPORT TextPainter { |
+ STACK_ALLOCATED(); |
public: |
struct Style; |
@@ -43,6 +45,7 @@ public: |
void paint(int startOffset, int endOffset, int length, const Style&, TextBlobPtr* cachedTextBlob = 0); |
struct Style { |
+ STACK_ALLOCATED(); |
Color currentColor; |
Color fillColor; |
Color strokeColor; |