Index: Source/core/html/HTMLDimension.h |
diff --git a/Source/core/html/HTMLDimension.h b/Source/core/html/HTMLDimension.h |
index dbf85046d5858c0dc574a9c46ba5c56da7f4450e..33c0e3c6b7525b81b97a0409f3a3a01bad9caba4 100644 |
--- a/Source/core/html/HTMLDimension.h |
+++ b/Source/core/html/HTMLDimension.h |
@@ -32,6 +32,7 @@ |
#define HTMLDimension_h |
#include "core/CoreExport.h" |
+#include "wtf/Allocator.h" |
#include "wtf/Forward.h" |
#include "wtf/Vector.h" |
@@ -40,6 +41,7 @@ namespace blink { |
// This class corresponds to a dimension as described in HTML5 by the |
// "rules for parsing a list of dimensions" (section 2.4.4.6). |
class HTMLDimension { |
+ ALLOW_ONLY_INLINE_ALLOCATION(); |
public: |
enum HTMLDimensionType { |
Relative, Percentage, Absolute |