summaryrefslogtreecommitdiffstats
path: root/WebCore/platform/Length.h
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/platform/Length.h')
-rw-r--r--WebCore/platform/Length.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/WebCore/platform/Length.h b/WebCore/platform/Length.h
index b4497b6..4f36577 100644
--- a/WebCore/platform/Length.h
+++ b/WebCore/platform/Length.h
@@ -22,6 +22,7 @@
#define Length_h
#include <wtf/Assertions.h>
+#include <wtf/FastAllocBase.h>
#include <wtf/MathExtras.h>
namespace WebCore {
@@ -33,7 +34,7 @@ const int percentScaleFactor = 128;
enum LengthType { Auto, Relative, Percent, Fixed, Static, Intrinsic, MinIntrinsic };
-struct Length {
+struct Length : FastAllocBase {
Length()
: m_value(0)
{