Index: Source/core/css/CSSToLengthConversionData.h |
diff --git a/Source/core/css/CSSToLengthConversionData.h b/Source/core/css/CSSToLengthConversionData.h |
index d6a3bbd64b0fcece7c811d875b80006a737aa455..6682826da4a65bde4f9c8a20af504f34c79f663a 100644 |
--- a/Source/core/css/CSSToLengthConversionData.h |
+++ b/Source/core/css/CSSToLengthConversionData.h |
@@ -32,6 +32,7 @@ |
#define CSSToLengthConversionData_h |
#include "core/CoreExport.h" |
+#include "wtf/Allocator.h" |
#include "wtf/Assertions.h" |
#include "wtf/MathExtras.h" |
#include <limits> |
@@ -43,9 +44,11 @@ class LayoutView; |
class Font; |
class CORE_EXPORT CSSToLengthConversionData { |
+ DISALLOW_ALLOCATION(); |
public: |
class FontSizes { |
+ DISALLOW_ALLOCATION(); |
public: |
FontSizes() : m_em(0), m_rem(0), m_font(nullptr) { } |
FontSizes(float em, float rem, const Font*); |
@@ -62,6 +65,7 @@ public: |
}; |
class ViewportSize { |
+ DISALLOW_ALLOCATION(); |
public: |
ViewportSize() : m_width(0), m_height(0) { } |
ViewportSize(double width, double height) : m_width(width), m_height(height) { } |