Index: Source/core/layout/svg/SVGTextMetrics.h |
diff --git a/Source/core/layout/svg/SVGTextMetrics.h b/Source/core/layout/svg/SVGTextMetrics.h |
index 4b85595b5d8dcadc0ed5c332ea356d8fce0fc63c..469ee41c182f4ed6a8eff383aaedd28de9fb90a1 100644 |
--- a/Source/core/layout/svg/SVGTextMetrics.h |
+++ b/Source/core/layout/svg/SVGTextMetrics.h |
@@ -21,6 +21,7 @@ |
#define SVGTextMetrics_h |
#include "platform/text/TextDirection.h" |
+#include "wtf/Allocator.h" |
namespace blink { |
@@ -28,6 +29,7 @@ class LayoutSVGInlineText; |
class TextRun; |
class SVGTextMetrics { |
+ ALLOW_ONLY_INLINE_ALLOCATION(); |
public: |
enum MetricsType { |
SkippedSpaceMetrics |