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

Unified Diff: third_party/WebKit/Source/core/css/RuleFeature.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/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)
« no previous file with comments | « third_party/WebKit/Source/core/css/RemoteFontFaceSource.h ('k') | third_party/WebKit/Source/core/css/RuleSet.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698