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

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: Fixed patch conflict 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
« no previous file with comments | « Source/core/css/CSSImageGeneratorValue.h ('k') | Source/core/css/parser/SizesCalcParser.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/css/SelectorChecker.h
diff --git a/Source/core/css/SelectorChecker.h b/Source/core/css/SelectorChecker.h
index fb173ef5e42074f29281243127e0d42fb9cc0560..e31082db0fbd9cc0d32d9e83e37ae088e5ca1595 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 };
@@ -91,6 +92,7 @@ public:
};
struct MatchResult {
+ STACK_ALLOCATED();
MatchResult()
: dynamicPseudo(NOPSEUDO)
, specificity(0) { }
« no previous file with comments | « Source/core/css/CSSImageGeneratorValue.h ('k') | Source/core/css/parser/SizesCalcParser.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698