Index: third_party/WebKit/Source/core/css/CSSToLengthConversionData.h |
diff --git a/third_party/WebKit/Source/core/css/CSSToLengthConversionData.h b/third_party/WebKit/Source/core/css/CSSToLengthConversionData.h |
index aa5b74eac516d04d910e4db0eb23c8432a3f902d..8aa700281244c73fc86a82835c91a1a800a571ac 100644 |
--- a/third_party/WebKit/Source/core/css/CSSToLengthConversionData.h |
+++ b/third_party/WebKit/Source/core/css/CSSToLengthConversionData.h |
@@ -45,11 +45,11 @@ class LayoutView; |
class Font; |
class CORE_EXPORT CSSToLengthConversionData { |
- DISALLOW_ALLOCATION(); |
+ DISALLOW_NEW(); |
public: |
class FontSizes { |
- DISALLOW_ALLOCATION(); |
+ DISALLOW_NEW(); |
public: |
FontSizes() : m_em(0), m_rem(0), m_font(nullptr) { } |
FontSizes(float em, float rem, const Font*); |
@@ -66,7 +66,7 @@ public: |
}; |
class ViewportSize { |
- DISALLOW_ALLOCATION(); |
+ DISALLOW_NEW(); |
public: |
ViewportSize() : m_width(0), m_height(0) { } |
ViewportSize(double width, double height) : m_width(width), m_height(height) { } |