summaryrefslogtreecommitdiffstats
path: root/chromium/third_party/WebKit/Source/core/css/resolver/MatchResult.h
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/third_party/WebKit/Source/core/css/resolver/MatchResult.h')
-rw-r--r--chromium/third_party/WebKit/Source/core/css/resolver/MatchResult.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/chromium/third_party/WebKit/Source/core/css/resolver/MatchResult.h b/chromium/third_party/WebKit/Source/core/css/resolver/MatchResult.h
index bbcae30bdb5..25d9b91900a 100644
--- a/chromium/third_party/WebKit/Source/core/css/resolver/MatchResult.h
+++ b/chromium/third_party/WebKit/Source/core/css/resolver/MatchResult.h
@@ -67,10 +67,12 @@ struct MatchedProperties {
};
};
-struct MatchResult {
+class MatchResult {
+ STACK_ALLOCATED();
+public:
MatchResult() : isCacheable(true) { }
Vector<MatchedProperties, 64> matchedProperties;
- Vector<StyleRule*, 64> matchedRules;
+ WillBeHeapVector<RawPtrWillBeMember<StyleRule>, 64> matchedRules;
MatchRanges ranges;
bool isCacheable;