Index: third_party/WebKit/Source/core/css/RuleFeature.h |
diff --git a/third_party/WebKit/Source/core/css/RuleFeature.h b/third_party/WebKit/Source/core/css/RuleFeature.h |
index 1fc6849eb422186f495623edfdde829e8642e01b..6ec0faba637a1cbc3c163ccb65066aa178ddddfa 100644 |
--- a/third_party/WebKit/Source/core/css/RuleFeature.h |
+++ b/third_party/WebKit/Source/core/css/RuleFeature.h |
@@ -39,7 +39,7 @@ class SpaceSplitString; |
class StyleRule; |
struct RuleFeature { |
- ALLOW_ONLY_INLINE_ALLOCATION(); |
+ DISALLOW_NEW_EXCEPT_PLACEMENT_NEW(); |
public: |
RuleFeature(StyleRule*, unsigned selectorIndex, bool hasDocumentSecurityOrigin); |
@@ -51,7 +51,7 @@ public: |
}; |
class CORE_EXPORT RuleFeatureSet { |
- DISALLOW_ALLOCATION(); |
+ DISALLOW_NEW(); |
public: |
RuleFeatureSet(); |
~RuleFeatureSet(); |
@@ -105,7 +105,7 @@ private: |
using PseudoTypeInvalidationSetMap = HashMap<CSSSelector::PseudoType, RefPtr<InvalidationData>, WTF::IntHash<unsigned>, WTF::UnsignedWithZeroKeyHashTraits<unsigned>>; |
struct FeatureMetadata { |
- DISALLOW_ALLOCATION(); |
+ DISALLOW_NEW(); |
FeatureMetadata() |
: usesFirstLineRules(false) |
, usesWindowInactiveSelector(false) |
@@ -137,7 +137,7 @@ private: |
void updateInvalidationSetsForContentAttribute(const RuleData&); |
struct InvalidationSetFeatures { |
- DISALLOW_ALLOCATION(); |
+ DISALLOW_NEW(); |
InvalidationSetFeatures() |
: maxDirectAdjacentSelectors(UINT_MAX) |
, customPseudoElement(false) |