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

Unified Diff: Source/core/css/RuleSet.h

Issue 1304623002: Make blink classes and structures in core/css fast-allocated (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 4 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: Source/core/css/RuleSet.h
diff --git a/Source/core/css/RuleSet.h b/Source/core/css/RuleSet.h
index 396860e42622c682af3e66c67702172014660b7a..1abb99eb378c7291b7eb4e69533a5b619fdd48c0 100644
--- a/Source/core/css/RuleSet.h
+++ b/Source/core/css/RuleSet.h
@@ -110,6 +110,7 @@ private:
};
struct SameSizeAsRuleData {
+ DISALLOW_ALLOCATION();
void* a;
unsigned b;
unsigned c;
@@ -184,6 +185,7 @@ private:
static void compactPendingRules(PendingRuleMap&, CompactRuleMap&);
class PendingRuleMaps : public NoBaseWillBeGarbageCollected<PendingRuleMaps> {
+ WTF_MAKE_FAST_ALLOCATED_WILL_BE_REMOVED(PendingRuleMaps);
public:
static PassOwnPtrWillBeRawPtr<PendingRuleMaps> create() { return adoptPtrWillBeNoop(new PendingRuleMaps); }

Powered by Google App Engine
This is Rietveld 408576698