Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2034)

Unified Diff: third_party/WebKit/Source/core/css/CSSToLengthConversionData.h

Issue 1406923009: Rename DISALLOW_ALLOCATION and ALLOW_ONLY_INLINE_ALLOCATION (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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) { }
« no previous file with comments | « third_party/WebKit/Source/core/css/CSSPropertySourceData.h ('k') | third_party/WebKit/Source/core/css/ElementRuleCollector.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698