summaryrefslogtreecommitdiffstats
path: root/Source/WebCore/platform/Length.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebCore/platform/Length.h')
-rw-r--r--Source/WebCore/platform/Length.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/Source/WebCore/platform/Length.h b/Source/WebCore/platform/Length.h
index 7dd875e..9da71c7 100644
--- a/Source/WebCore/platform/Length.h
+++ b/Source/WebCore/platform/Length.h
@@ -35,7 +35,9 @@ const int intMinForLength = (-0x7ffffff - 1); // min value for a 28-bit int
enum LengthType { Auto, Relative, Percent, Fixed, Static, Intrinsic, MinIntrinsic };
-struct Length : FastAllocBase {
+struct Length {
+ WTF_MAKE_FAST_ALLOCATED;
+public:
Length()
: m_value(0)
{