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

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

Issue 1278983003: Adding allocator annotations to blink classes and structs. (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/SelectorChecker.h
diff --git a/Source/core/css/SelectorChecker.h b/Source/core/css/SelectorChecker.h
index fb173ef5e42074f29281243127e0d42fb9cc0560..dd60af17dbce906130fc1291e4b3b668d8f13510 100644
--- a/Source/core/css/SelectorChecker.h
+++ b/Source/core/css/SelectorChecker.h
@@ -42,6 +42,7 @@ class ComputedStyle;
class SelectorChecker {
WTF_MAKE_NONCOPYABLE(SelectorChecker);
+ STACK_ALLOCATED();
public:
enum VisitedMatchType { VisitedMatchDisabled, VisitedMatchEnabled };
enum Mode { ResolvingStyle = 0, CollectingStyleRules, CollectingCSSRules, QueryingRules, SharingRules };
@@ -97,6 +98,7 @@ public:
PseudoId dynamicPseudo;
unsigned specificity;
+ STACK_ALLOCATED();
};
bool match(const SelectorCheckingContext&, MatchResult&) const;

Powered by Google App Engine
This is Rietveld 408576698